PCMExtractDimensions {PCMBase} | R Documentation |
Given a PCM or a parameter object, extract an analogical object for a subset of the dimensions (traits) in the original object.
Description
Given a PCM or a parameter object, extract an analogical object for a subset of the dimensions (traits) in the original object.
Usage
PCMExtractDimensions(obj, dims = seq_len(PCMNumTraits(obj)), nRepBlocks = 1L)
Arguments
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. |
Details
This is an S3 generic
Value
an object of the same class as obj with a subset of obj's dimensions
multiplied nRepBlocks
times.
[Package PCMBase version 1.2.14 Index]