recencyReceiveSender {remstats} | R Documentation |
recencyReceiveSender
Description
Specifies the statistic for a recency receive of sender effect in the
effects
argument of tomstats
or the
sender_effects
argument of aomstats
.
Usage
recencyReceiveSender(consider_type = TRUE)
Arguments
consider_type |
logical, indicates whether to compute the recency separately for each event type (TRUE, default) or regardless of event types (FALSE). |
Details
The recencyReceiveSender 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 sender i was last active as receiver + 1). Note that the 'recencyReceiveSender' effect is only defined for directed events.
Value
List with all information required by 'remstats::remstats()' to compute the statistic.
See Also
rrankSend
, rrankReceive
,
recencySendSender
, recencySendReceiver
,
recencyReceiveReceiver
and recencyContinue
for
other type of recency effects
Examples
effects <- ~ recencyReceiveSender()
reh_tie <- remify::remify(history, model = "tie")
remstats(tie_effects = effects, reh = reh_tie)
reh_actor <- remify::remify(history, model = "actor")
remstats(sender_effects = effects, reh = reh_actor)