Description Usage Arguments Value Examples
View source: R/means_variances.R
Mean conditional variance
1 2 | mean_cond_var(lambda = parms$lambda, birth = parms$birth,
death = parms$death, tran = parms$tran, parms, verbose = FALSE)
|
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 |
E ( Var( Y_{t+1} | Y_t)) = T E(D) T' where D is the diagonal matrix of variances of new cell births, deaths and transitions and T is the coding matrix of 0s and \pm 1s to linearly transform the birth, death and transition components into the cell counts
1 2 3 | parms <- list(lambda = 10, birth = rep(.01,3),
death = .03, tran = c(.01,.02))
mean_cond_var(parms = parms)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.