View source: R/events_N_duration.R
events_dur | R Documentation |
This function calculates the total duration (in seconds) of events of collective motion in a dataset.
events_dur(data, step2time)
data |
A dataframe with a |
step2time |
The sampling frequency of the dataframe (how many seconds are between each row of the data). |
A numeric corresponding to the total duration of events in the dataset in seconds.
Marina Papadopoulou m.papadopoulou.rug@gmail.com
define_events
, events_n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.