Learn R Programming

remstats (version 3.2.4)

recencyContinue: recencyContinue

Description

Specifies the statistic for a recency continue effect in the effects argument of tomstats or the receiver_effects argument of aomstats.

Usage

recencyContinue(consider_type = TRUE)

Value

List with all information required by `remstats::remstats()` to compute the statistic.

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 recencyContinue 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 the dyad was last active + 1).

See Also

rrankSend, rrankReceive, recencySendSender, recencyReceiveSender, recencyReceiveSender and recencyReceiveReceiver for other type of recency effects

Examples

Run this code
effects <- ~ recencyContinue()
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)

Run the code above in your browser using DataLab