View source: R/utilities_fsvsim.R
| cormat.fsvsim | R Documentation |
cormat extracts the model-implied (time-varying) covariance matrix
from an fsvsim object.
## S3 method for class 'fsvsim'
cormat(x, timepoints = "all", ...)
x |
Object of class |
timepoints |
Vector indicating at which point(s) in time the correlation matrices should be extracted. Can also be "all" or "last". |
... |
Ignored. |
Array of dimension m times m times
length(timepoints), containing the model-implied correlation matrix.
Currently crudely implemented as an R loop over all time points, may be slow.
Other simulation:
corelement(),
covelement(),
covmat.fsvsim()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.