degreeDiff | R Documentation |
Specifies the statistic for a 'degreeDiff' effect in the tie-oriented model.
degreeDiff(scaling = c("none", "std"), consider_type = TRUE)
scaling |
the method for scaling the degree statistic. Default is to not scale the statistic (scaling = "none"). Alternatively, standardization of the degree difference per time point can be requested with 'std'. |
consider_type |
logical, indicates whether to count the degrees separately for each event type (TRUE, default) or sum degrees across different event types (FALSE). |
A degreeDiff effect refers to the tendency for dyads to increase their interaction rate if the absolute difference in degree for the two actors in the pair increases. The statistic at timepoint t for dyad (i,j) is equal to the difference between the following two values: the number of events before timepoint t that involved actor i and actor j, respectively. The degreeDiff effect is only defined for undirected events.
List with all information required by 'remstats::remstats()' to compute the statistic.
degreeMin
, degreeMax
or
totaldegreeDyad
for other types of degree effects for
undirected events.
reh_tie <- remify::remify(history, model = "tie", directed = FALSE)
effects <- ~ degreeDiff()
remstats(reh = reh_tie, tie_effects = effects)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.