View source: R/summary.trophicSDMfit.R
summary.trophicSDMfit | R Documentation |
Summary of a fitted trophicSDM model
## S3 method for class 'trophicSDMfit'
summary(object, ...)
object |
A trophicSDMfit object obtained with trophicSDM() |
... |
additional arguments |
Prints a summary of the fitted trophic SDM
Giovanni Poggiato
data(Y, X, G)
# define abiotic part of the model
env.formula = "~ X_1 + X_2"
# Run the model with bottom-up control using stan_glm as fitting method and no penalisation
# (set iter = 1000 to obtain reliable results)
m = trophicSDM(Y, X, G, env.formula, iter = 100,
family = binomial(link = "logit"), penal = NULL,
mode = "prey", method = "stan_glm")
summary(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.