R: A network series specification for conditional modeling.

NetSeries {tergm} | R Documentation

## A network series specification for conditional modeling.

### Description

A function for specifying the LHS of a temporal network series ERGM.

### Usage

    NetSeries(..., order = 1, NA.impute = NULL)

### Arguments

`...` | series specification, in one of three formats: A list of identically- dimensioned and directed networks. Several networks as arguments. A `networkDynamic` object and a numeric vector of time indices.
`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 `imputers` of `impute.network.list` for details.

### Value

A network object with temporal metadata.

### Note

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.

### See Also

Help on model specification for specific terms.

### Examples

    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

[Package tergm version 4.0.2 Index]