powered by
This function calculates the number of events of collective motion per set, given by events_n.
events_n
calc_n_events(data)
An integer corresponding to the number of events of collective motion (sequences of keep == TRUE).
keep == TRUE
The dataframe of one set (splitted by the events_n function) with a keep column.
keep
Marina Papadopoulou m.papadopoulou.rug@gmail.com