Learn R Programming

stremo (version 0.2)

lamb2: Yield components in oat.

Description

Covariance matrix and syntaxes for the three first models in the paper by Lamb et al. (2011).

Usage

data(lamb2) lamb2 lamb2.model.fig1 lamb2.model.fig2 lamb2.model.fig3

Arguments

Format

A covariance matrix and three character vectors with model specifications.

References

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.

Examples

Run this code
## 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)

Run the code above in your browser using DataLab