sim.N.true: Simulate N realizations from the BSD process

Description Usage Arguments Value Examples

View source: R/bsd_package.R

Description

Repeats the function sim.one.true N times using replicate

Usage

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

Arguments

N

An integer, the number of realizations to simulate

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 2 by N matrix; each ith column is a pair of integers giving the number of initial indices still present followed by the number of new indices present in the population in the ith realization

Examples

1
sim.N.true(10,2,.2,.12,.15,10)

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