Description Usage Arguments Value Functions Examples
View source: R/means_variances.R
Conditional variance
1 2 3 4 5 | cond_var(Y, lambda = parms$lambda, birth = parms$birth,
death = parms$death, tran = parms$tran, parms, verbose = FALSE)
cond_var_k(k, Y, lambda = parms$lambda, birth = parms$birth,
death = parms$death, tran = parms$tran, parms, verbose = FALSE)
|
Y |
vector of cell counts at time t |
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 |
k |
number of steps for conditional variance |
conditional expectation at time t+1
cond_var_k
: Conditional variance in k steps of the process
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.