Description Usage Format Note Source References Examples
Covariance matrix and syntaxes for the three first models in the paper by Lamb et al. (2011).
1 2 3 4 5 |
A covariance matrix and three character vectors with model specifications.
We couldn't make the latent variable models converge, so we included only the path models.
Article:
http://pubs.aic.ca/doi/full/10.4141/cjps2010-035
Lamb E, Shirtliffe S, and May, W. 2011. Structural equation modeling in the plant sciences: An example using yield components in oat. Canadian Journal of Plant Sciences 91: 603-619.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
data(lamb2)
lamb2.model.fig1.fit <- sem(lamb2.model.fig1, sample.cov = lamb2,
sample.nobs = 144)
lamb2.model.fig2.fit <- sem(lamb2.model.fig2, sample.cov = lamb2,
sample.nobs = 144)
lamb2.model.fig3.fit <- sem(lamb2.model.fig3, sample.cov = lamb2,
sample.nobs = 144)
summary(lamb2.model.fig1.fit, standardized = TRUE)
summary(lamb2.model.fig2.fit, standardized = TRUE)
summary(lamb2.model.fig3.fit, standardized = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.