Learn R Programming

stremo (version 0.2)

latta: Path analysis of natural selection via survival and fecundity across contrasting environments in Avena barbata.

Description

Covariance matrices and syntax of the models in the paper by Latta & McCain 2009.

Usage

data(latta) latta.greenhouse.cov latta.hopland.cov latta.sierra.cov latta.greenhouse.model latta.field.model

Arguments

Format

Three covariance matrices and two character vectors containing data and model specification.

References

Latta, RG and McCain, C. 2009. Path analysis of natural selection via survival and fecundity across contrasting environments in Avena barbata. Journal of Evolutionary Biology 22: 2458-2469.

Examples

Run this code
## Not run: 
# data(latta)
# cat(latta.greenhouse.model)
# cat(latta.hopland.model)
# cat(latta.sierra.model)
# 
# latta.greenhouse.fit <- sem(latta.greenhouse.model, sample.cov =
#                             latta.greenhouse.cov, sample.nobs = 188)
# latta.hopland.fit <- sem(latta.field.model, sample.cov =
#                          latta.hopland.cov, sample.nobs = 188)
# latta.sierra.fit <- sem(latta.field.model, sample.cov =
#                         latta.sierra.cov, sample.nobs = 188)
# 
# summary(latta.greenhouse.fit, standardize = TRUE)
# summary(latta.hopland.fit, standardize = TRUE)
# summary(latta.sierra.fit, standardize = TRUE)
# ## End(Not run)

Run the code above in your browser using DataLab