lastintsN: Get last N interactions between each pair of nodes

Description Usage Arguments Value Examples

Description

Get last N interactions between each pair of nodes

Usage

1
lastintsN(df, N = 3)

Arguments

df

a dataframe with two variables, winners and losers

N

the number of last interactions to get

Value

a list with each element being the last N interactions for each pair of nodes up to that row of the dataframe

Examples

1
lastintsN(ladybugs[,2:3],N=3)

jalapic/hierformR documentation built on May 18, 2019, 11:18 a.m.