simulate.ccam: Simulate from a ccam object

simulate.ccamR Documentation

Simulate from a ccam object

Description

Simulate from a ccam object

Usage

## S3 method for class 'ccam'
simulate(object, nsim = 1, seed = NULL,
  full.data = TRUE, ...)

Arguments

object

ccam fitted object (result from ccam.fit)

nsim

number of response lists to simulate. Defaults to 1.

seed

random number seed

full.data

logical, should each inner list contain a full list of data. Defaults to TRUE

...

extra arguments

Details

...

Value

returns a list of lists. The outer list has length nsim. Each inner list contains simulated values of logF, logN, and obs with dimensions equal to those parameters.


elisvb/CCAM documentation built on March 13, 2023, 6:55 a.m.