Hypothesised SEM from Shipley (2009)
Shipley.SEM
A list of fitted mixed models of class "lmer"
and
"glmer"
, representing structured equations.
Shipley, B. (2009). Confirmatory path analysis in a generalized multilevel context. Ecology, 90(2), 363-368. https://doi.org/bqd43d
# NOT RUN {
## Specification
# }
# NOT RUN {
Shipley.SEM <- list(
"DD" = lme4::lmer(DD ~ lat + (1 | site) + (1 | tree), data = Shipley),
"Date" = lme4::lmer(Date ~ DD + (1 | site) + (1 | tree), data = Shipley),
"Growth" = lme4::lmer(Growth ~ Date + (1 | site) + (1 | tree),
data = Shipley),
"Live" = lme4::glmer(Live ~ Growth + (1 | site) + (1 | tree), binomial,
data = Shipley)
)
# }
Run the code above in your browser using DataLab