simulate.recruitmentModel: Simulate recruitment times from an accrual model

Description Usage Arguments Value

View source: R/recruitment.R

Description

Simulate recruitment times from an accrual model

Usage

1
2
## S3 method for class 'recruitmentModel'
simulate(object, nsim = 1, seed = NULL, ...)

Arguments

object

the recruitmentModel from which to simulate

nsim

the number of simulations to do

seed

an object specifying if and how the random number generator should be initialized ('seeded').

...

Argument required for S3 method

Value

A vector of simulated accrual times, of length nsim.


scientific-computing-solutions/badminton documentation built on May 29, 2019, 3:43 p.m.