PCMExtractDimensions.Rd
Given a PCM or a parameter object, extract an analogical object for a subset of the dimensions (traits) in the original object.
PCMExtractDimensions(obj, dims = seq_len(PCMNumTraits(obj)), nRepBlocks = 1L)
obj | a PCM or a parameter object. |
---|---|
dims | an integer vector; should be a subset or equal to
|
nRepBlocks | a positive integer specifying if the specified dimensions should be replicated to obtain a higher dimensional model, where the parameter matrices are block-diagonal with blocks corresponding to dims. Default: 1L. |
an object of the same class as obj with a subset of obj's dimensions
multiplied nRepBlocks
times.
This is an S3 generic