print.trophicSDMfit: Prints a fitted trophicSDM model

View source: R/print.trophicSDMfit.R

print.trophicSDMfitR Documentation

Prints a fitted trophicSDM model

Description

Prints a fitted trophicSDM model

Usage

## S3 method for class 'trophicSDMfit'
print(x, ...)

Arguments

x

A trophicSDMfit object obtained with trophicSDM()

...

additional arguments

Value

Prints a summary of the fitted trophic SDM

Author(s)

Giovanni Poggiato

Examples

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)
trophicSDM(Y, X, G, env.formula, iter = 100,
               family = binomial(link = "logit"), penal = NULL, 
               mode = "prey", method = "stan_glm")

webSDM documentation built on June 24, 2024, 5:13 p.m.