recencySendReceiver | R Documentation |
Specifies the statistic for a recency send of receiver effect in the
effects
argument of tomstats
or the
receiver_effects
argument of aomstats
.
recencySendReceiver(consider_type = TRUE)
consider_type |
logical, indicates whether to compute the recency separately for each event type (TRUE, default) or regardless of event types (FALSE). |
The recencySendReceiver effect refers to a recency statistic similar to what is described in Vu et al. (2017) and Mulder and Leenders (2019). For each timepoint t, for directed dyad (i,j) the statistic is equal to 1/(the time that has past since receiver j was last active as sender + 1). Note that the 'recencySendReceiver' effect is only defined for directed events.
List with all information required by 'remstats::remstats()' to compute the statistic.
rrankSend
, rrankReceive
,
recencySendSender
, recencyReceiveSender
,
recencyReceiveReceiver
and recencyContinue
for
other type of recency effects
effects <- ~ recencySendReceiver()
reh_tie <- remify::remify(history, model = "tie")
remstats(tie_effects = effects, reh = reh_tie)
reh_actor <- remify::remify(history, model = "actor")
remstats(receiver_effects = effects, reh = reh_actor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.