NetSeries | R Documentation |
A function for specifying the LHS of a temporal network series ERGM.
NetSeries(..., order = 1, NA.impute = NULL)
... |
series specification, in one of three formats:
|
order |
how many previous networks to store as an accessible covariate of the model. |
NA.impute |
How missing dyads in transitioned-from networks
are be imputed when using conditional estimation. See argument
|
A network object with temporal metadata.
It is not recommended to modify the network returned by
NetSeries
except by adding and removing edges, and even that
must be done with some care, to avoid putting it into an
inconsistent state.
It is almost always better to modify the original networks and regenerate the series.
ergmTerm
for specific terms.
data(samplk)
# Method 1: list of networks
monks <- NetSeries(list(samplk1,samplk2,samplk3))
ergm(monks ~ Form(~edges)+Diss(~edges))
ergm(monks ~ Form(~edges)+Persist(~edges))
# Method 2: networks as arguments
monks <- NetSeries(samplk1,samplk2,samplk3)
ergm(monks ~ Form(~edges)+Diss(~edges))
ergm(monks ~ Form(~edges)+Persist(~edges))
# Method 3: networkDynamic and time points:
## TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.