View source: R/ui_projection-simulation.R
calculate_steady_state | R Documentation |
This is an experimental function. It attempts to calculate steady-state compartment sizes using the set parameter values and the initial compartment sizes. Use it with caution!
calculate_steady_state(nm)
nm |
A network model, with set parameter values. |
Note about how steady state sizes for split compartments are calculated: the steady size of the active portion is calculated divide it is divided by the active fraction (portion.act parameter) to get the total size including the refractory portion. In this case we get a "steady-state" refractory portion, consistent with steady state size of active fraction and with portion.act parameter.
A tibble containing steady-state compartment sizes.
m <- aquarium_mod
m <- set_prior(m, constant_p(0), "lambda")
m <- set_params(m, sample_params(m))
proj <- project(m, end = 40)
plot(proj)
z <- calculate_steady_state(m)
z
z$stable_sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.