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. |
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.