ernm | R Documentation |
fits an ERNM model
ernm(
formula,
tapered = TRUE,
tapering_r = 3,
modelArgs = list(),
nodeSamplingPercentage = 0.2,
modelType = NULL,
likelihoodArgs = list(),
fullToggles = c("Compound_NodeTieDyad_Neighborhood", "DefaultVertex"),
missingToggles = c("Compound_NodeTieDyadMissing_NeighborhoodMissing", "VertexMissing"),
...
)
formula |
model formula |
tapered |
should the model be tapered |
tapering_r |
the tapering parameter (tau = 1/(tapering_r^2 +5)) |
modelArgs |
additiional arguments for the model, e.g. tapering parameters that override the defaults |
nodeSamplingPercentage |
how often are nodal variates toggled |
modelType |
either FullErnmModel or MissingErnmModel if NULL will check for missingness |
likelihoodArgs |
additiional arguments for the ernmLikelihood |
fullToggles |
a character vector of length 2 indicating the dyad and vertex toggle types for the unconditional simulations |
missingToggles |
a character vector of length 2 indicating the dyad and vertex toggle types for the conditional simulations |
... |
additional parameters for ernmFit |
a fitted model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.