View source: R/strategy_eval.R
compute_counts.eval_part_surv | R Documentation |
Given an initial number of individual and an evaluated transition matrix, returns the number of individual per state per cycle.
## S3 method for class 'eval_part_surv'
compute_counts(x, init, inflow, ...)
compute_counts(x, ...)
## S3 method for class 'eval_matrix'
compute_counts(x, init, inflow, ...)
x |
An |
init |
numeric vector, same length as number of model states. Number of individuals in each model state at the beginning. |
inflow |
numeric vector, similar to |
Use the method
argument to specify if transitions
are supposed to happen at the beginning or the end of
each cycle. Alternatively linear interpolation between
cycles can be performed.
A cycle_counts
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.