mvn: mvn

View source: R/biodyn-mvn.R

mvnR Documentation

mvn

Description

Takes a fitted biodyn object and uses the covariance matrix (in the vcov slot) and the parameter estimates (params slot) to use Monte Carlo simulation to generate new parameters

Usage

mvn(
  object,
  n,
  nms = dimnames(object@control[object@control[, "phase", ] > 0, ])$params,
  fwd = FALSE,
  params = TRUE
)

Arguments

object

a biodyn object

n

numeric with number of iter to create

nms

the parameters for Monte Carlo simulation

fwd

logical do you want to simuate historic time series of stock biomass?, default is FALSE

params

actual parameters

Value

biodyn with simuated time series

Examples

## Not run: 
x=1

## End(Not run)

laurieKell/mpb documentation built on Sept. 9, 2023, 9:47 p.m.