branch: branch Simulates a continuous-time time-inhomogenous markov...

Description Usage Arguments

View source: R/simulation.R

Description

branch Simulates a continuous-time time-inhomogenous markov branching process using the specified parameters. Uses C++ code for faster simulation.

Usage

1
2
branch(model, params, init_pop, time_obs, reps, silent = FALSE,
  keep = FALSE, seed = NULL)

Arguments

model

the process_model object representing the process being simulates

params

the vector of parameters for which we are simulating the model

time_obs

the vector of times at which to record the process state

reps

the number of replicates to simulate

silent

if true, verbose output will be shown. Default: false

keep

if true, the temporary comma-separated file generated while simulating while be kept. if false, it will be deleted. Default: false

seed

seed for the random number generator. If NULL, will use computer clock to set a random seed


ferlicjl/estipop documentation built on March 5, 2020, 10:45 p.m.