calculate_thresholds: Calculate activity thresholds

View source: R/calculate_thresholds.R

calculate_thresholdsR Documentation

Calculate activity thresholds

Description

calculate_thresholds calculates and aggregates activity thresholds for an $activity object, based on its $activity_data and $activity_gaps. Raw thresholds (per day) are stored in $activity_data and aggregate thresholds are stored in $activity_data

Usage

calculate_thresholds(activity, act.act = NULL, act.reg_minutes = NULL,
  thresh.n_runs = 1, thresh.window_width_around_day = NULL,
  thresh.n_thresholds = NULL, thresh.resting_range_limit = 0.2,
  thresh.threshold_range_limit = 0.8,
  states.min_duration_active = NULL, plot_summary = FALSE)

Arguments

activity

An object of class activity.

Value

An object of class activity.

Examples

  calculate_thresholds()

maxkroeschel/activitytools documentation built on July 31, 2023, 1:34 p.m.