Learn R Programming

unmarked (version 1.0.1)

simulate-methods: Methods for Function simulate in Package `unmarked'

Description

Simulate data from a fitted model.

Usage

# S4 method for unmarkedFitColExt
simulate(object, nsim, seed, na.rm)
# S4 method for unmarkedFitDS
simulate(object, nsim, seed, na.rm)
# S4 method for unmarkedFitMPois
simulate(object, nsim, seed, na.rm)
# S4 method for unmarkedFitOccu
simulate(object, nsim, seed, na.rm)
# S4 method for unmarkedFitOccuRN
simulate(object, nsim, seed, na.rm)
# S4 method for unmarkedFitPCount
simulate(object, nsim, seed, na.rm)

Arguments

object

Fitted model of appropriate S4 class

nsim

Number of simulations

seed

Seed for random number generator. Not currently implemented

na.rm

Logical, should missing values be removed?

Methods

object = "unmarkedFitColExt"

A model fit by colext

object = "unmarkedFitDS"

A model fit by distsamp

object = "unmarkedFitMPois"

A model fit by multinomPois

object = "unmarkedFitOccu"

A model fit by occu

object = "unmarkedFitOccuRN"

A model fit by occuRN

object = "unmarkedFitPCount"

A model fit by pcount