eicm.matrix | R Documentation |
Constructs a EICM model object for prediction. The model object contains all coefficient matrices that may be needed for prediction.
Usually, you don't need to invoke this function directly, use as.eicm
instead.
eicm.matrix(env.coefs, sp.coefs = NULL, latent = NULL, options = NULL)
env.coefs |
the environmental coefficient matrix: a species x variable matrix (including intercept). |
sp.coefs |
the species interaction coefficient matrix: a species x species matrix, with zero diagonal. |
latent |
the values for the latent variables in each sample: a sample x latent variable matrix. |
options |
options for the model fitting. |
The EICM model is a list composed of three matrices plus the fitting options:
env
sp
samples
A eicm.matrix
object that can be used for defining a model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.