View source: R/utilities_fsvsim.R
covmat.fsvsim | R Documentation |
covmat
extracts the model-implied (time-varying) covariance matrix
from an fsvsim
object.
## S3 method for class 'fsvsim'
covmat(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 covariance matrix.
Currently crudely implemented as an R loop over all time points, may be slow.
Other simulation:
corelement()
,
cormat.fsvsim()
,
covelement()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.