describe_model | R Documentation |
This function accepts a DImodel (i.e., regression models fit using the DI
or autoDI
functions) object and returns a short text summary describing the model.
describe_model(model)
model |
A |
A short text describing the supplied DImodel object.
Rafael A. Moral, John Connolly, Rishabh Vishwakarma and Caroline Brophy
Kirwan L, J Connolly, JA Finn, C Brophy, A Lüscher, D Nyfeler and MT Sebastia (2009) Diversity-interaction modelling - estimating contributions of species identities and interactions to ecosystem function. Ecology, 90, 2032-2038.
DI
autoDI
## Load the data
data(sim2)
## Fit model
mod_FG <- DI(y = "response", FG = c("G", "G", "L", "L"),
prop = 3:6, data = sim2, DImodel = "FG")
## Describe model
describe_model(mod_FG)
mod_FULL <- DI(y = "response", estimate_theta = TRUE,
prop = 3:6, data = sim2, DImodel = "FULL")
describe_model(mod_FULL)
mod_AV <- DI(y = "response", ID = c("ID1", "ID1", "ID2", "ID2"),
estimate_theta = TRUE,
prop = 3:6, data = sim2, DImodel = "AV")
describe_model(mod_AV)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.