sim.N.eventcount: Simulate N BSD processes and return sufficient statistics

Description Usage Arguments Value Examples

View source: R/bsd_package.R

Description

Replicates sim.one.eventcount N times. Each replication begins with initNum particles.

Usage

1
  sim.N.eventcount(N, t.end, lam, v, mu, initNum)

Arguments

N

The number of replications, an integer

t.end

A number giving the length of time for the simulation

lam

Per-particle birth rate

v

Per-particle shift rate

mu

Per-particle death rate

initNum

An integer, initial total number of particles

Value

A 4 by N matrix, where rows correspond to total copies, shifts, deaths, and particle time per realization, respectively. Each column corresponds to one realization of the process.

Examples

1
sim.N.eventcount(5,2,.2,.12,.15,10)

jasonxu90/bdsem documentation built on May 18, 2019, 5:54 p.m.