ernm {ernm} | R Documentation |
fits an ERNM model
Description
fits an ERNM model
Usage
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"),
...
)
Arguments
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 |
Value
a fitted model
[Package ernm version 1.0.1 Index]