Description Usage Arguments Value Author(s) See Also
Simulates data y.s using lavaan simulateData. The data y.s are based on samples from the posterior and represent samples from the predictive distribution.
1 |
n.r |
Sample size for the new data (y.r) |
nsim |
Number of datasets y.s to be created. |
post |
Matrix with samples from the posterior distribution for the original data y.o |
pT |
The blavaan parameter table. |
free.i |
A vector with indices for the freely estimated parameters as given in pT. |
group |
If applicable, the name of the grouping variable. |
n.groups |
If applicable, the number of groups. |
y.s |
A list containing all y.s. |
M. A. J. Zondervan-Zwijnenburg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.