CTMC.line.sample: Sample the number of gaining traits on a line based on CTMC

Description Usage Arguments Value

Description

Sample the number of gaining traits on a line based on CTMC

Usage

1
CTMC.line.sample(x0, t, k12, k21)

Arguments

x0

Start point from CTMC

t

Total length of time

k12

transition rate from state 0 to state 1

k21

transition rate from state 1 to state 0

Value

number of gain traits and the ending state


MingweiWilliamTang/BMIthreshCount documentation built on May 7, 2019, 4:57 p.m.