View source: R/ui_model-building.R
set_size_family | R Documentation |
Set the distribution family for observed sizes
set_size_family(nm, family, by_compartment, quiet = FALSE, quiet_reset = FALSE)
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? |
A networkModel
object.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.