marg_var: Marginal variance

Description Usage Arguments Value Examples

View source: R/means_variances.R

Description

Marginal variance

Usage

1
2
marg_var(lambda = parms$lambda, birth = parms$birth, death = parms$death,
  tran = parms$tran, parms, verbose = FALSE)

Arguments

lambda

autonomous rate of cell formation for first cell type per unit of time

birth

vector for each type of cell with proportions of cells that replicate per unit of time

death

vector for each type of cell with proportions of cells that die per unit of time

tran

vector of length equal to length(Y) -1 with proportions of cells that transform to the next cell type per unit of time

parms

option list with parameters lambda, birth, death and tran

verbose

(default FALSE) print additional output for debugging

Value

marginal long-term variance of the process

Examples

1
2
3
parms <- list(lambda = 10, birth = rep(.01,3),
              death = .03, tran = c(.01,.02))
marg_var(parms = parms)

gmonette/Tcells2 documentation built on May 17, 2019, 7:25 a.m.