set_size_family {isotracer} | R Documentation |
Set the distribution family for observed sizes
Description
Set the distribution family for observed sizes
Usage
set_size_family(nm, family, by_compartment, quiet = FALSE, quiet_reset = FALSE)
Arguments
nm |
A |
family |
Allowed values are "normal_cv" and "normal_sd". |
by_compartment |
Boolean, if TRUE then zeta is compartment-specific. |
quiet |
Boolean, if |
quiet_reset |
Boolean, write a message when model parameters (and covariates and priors) are reset? |
Value
A networkModel
object.
Examples
library(magrittr)
m <- new_networkModel() %>%
set_topo(links = "NH4, NO3 -> epi -> pseph, tricor")
m <- m %>% set_size_family("normal_sd")
m
attr(m, "size_family")
m <- m %>% set_size_family(by_compartment = TRUE)
attr(m, "size_zeta_per_compartment")
[Package isotracer version 1.1.6 Index]