The first step in building a network model is to create a new, empty
networkModel
object. This model can then be completed using functions
such as set_topo()
, set_init()
, etc...
new_networkModel(quiet = FALSE)
An empty networkModel
object. It is basically a zero-row
tibble with the appropriate columns.
m <- new_networkModel()
#> Using default distribution family for proportions ("gamma_cv").
#> (eta is the coefficient of variation of gamma distributions.)
#> Using default distribution family for sizes ("normal_cv").
#> (zeta is the coefficient of variation of normal distributions.)
m
#> # A tibble: 0 × 3
#> # ℹ 3 variables: topology <list>, initial <list>, observations <list>
class(m)
#> [1] "networkModel" "tbl_df" "tbl" "data.frame"