calc_n_events {swaRmverse}R Documentation

Number of Events (Internal)

Description

This function calculates the number of events of collective motion per set, given by events_n.

Usage

calc_n_events(data)

Arguments

data

The dataframe of one set (splitted by the events_n function) with a keep column.

Value

An integer corresponding to the number of events of collective motion (sequences of keep == TRUE).

Author(s)

Marina Papadopoulou m.papadopoulou.rug@gmail.com


[Package swaRmverse version 0.1.1 Index]