powered by
This function automatically adds a default prior (uniform on [0,1]) for the active portion of split compartments.
set_split(nm, comps = NULL, which = NULL)
A networkModel object.
networkModel
Vector of strings, the names of the compartments to set split.
Vector of integers giving the nm rows to update. Default is to update all rows.
library(magrittr) x <- new_networkModel() %>% set_topo("NH4 -> algae -> daphnia") %>% set_split("algae") topo(x)
Run the code above in your browser using DataLab