Learn R Programming

tergm (version 4.2.1)

Change-ergmTerm: The Change Operator Term

Description

The Change Operator Term

Usage

# binary: Change(
#           formula,
#           lm = ~1,
#           subset = TRUE,
#           weights = 1,
#           contrasts = NULL,
#           offset = 0,
#           label = NULL
#         )

Arguments

formula

a one-sided ergm()-style formula with the terms to be evaluated

lm, subset, weights, contrasts, offset, label

NetSeries() LHS only arguments to specify time-varying parameters. See N() term operator in the ergm.multi for details. lm formula may reference .Time for the network's time index, .TimeID for the its index in the network series (where the initial network is 1 and the first modelled network is 2), and .TimeDelta for the time elapsed between the network and the immediately previous network in the series.

Details

This term accepts a model formula and produces the corresponding model for a network constructed by taking the dyads that have changed between time steps.

See Also

ergmTerm for index of model terms currently visible to the package.

ergm:::.formatTermKeywords("ergmTerm", "Change", "subsection")