simulate.sjSDM {sjSDM}R Documentation

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 class 'sjSDM'
simulate(object, nsim = 1, seed = NULL, ...)

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

Value

Array of simulated species occurrences of dimension order [nsim, sites, species]


[Package sjSDM version 1.0.5 Index]