Learn R Programming

sjSDM (version 1.0.6)

simulate.sjSDM: Generates simulations from sjSDM model

Description

Simulate nsim responses from the fitted model following a multivariate probit model. So currently only supported for family = stats::binomial("probit")

Usage

# S3 method for sjSDM
simulate(object, nsim = 1, seed = NULL, ...)

Value

Array of simulated species occurrences of dimension order (nsim, sites, species)

Arguments

object

a model fitted by sjSDM

nsim

number of simulations

seed

seed for random number generator

...

optional arguments for compatibility with the generic function, no functionality implemented