View source: R/thresholds2states.R
thresholds2states | R Documentation |
Calculates active states based on a list of threshold values (return
of function activity2thresholds
that is grouped by a
defined period with function aggregate_thresholds
)
thresholds2states(parameters, activity, activity_gaps, thresholds,
threshold_par)
activity |
A data.table with the activity data. The following columns should be present: 'animal_tag' and 'ts'. |
activity_gaps |
The data.table with the identified activity gaps. |
threshold_parm |
Data.table with the ...
active_states_a <- thresholds2states(activity = activity_data,
activity_gaps = activity_data_gaps,
thresholds = activity_thresholds_final,
threshold_par = 'threshold_a')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.