set_params {isotracer} | R Documentation |
Set the parameters in a network model
Description
Set the parameters in a network model
Usage
set_params(nm, params, force = TRUE, quick = FALSE)
Arguments
nm |
A |
params |
A named vector or a tibble with columns c("parameter", "value") containing the (global) parameter values. |
force |
Boolean, if FALSE will not overwrite already set parameters. |
quick |
Boolean, if TRUE take some shortcuts for faster parameter settings when called by another function. This should usually be left to the default (FALSE) by a regular package user. |
Value
A networkModel
object.
Examples
m <- aquarium_mod
p <- sample_params(m)
m2 <- set_params(m, p)
m2$parameters
[Package isotracer version 1.1.6 Index]