SB_patterns: Internal functions providing information about sedentary bout...

SB_patternsR Documentation

Internal functions providing information about sedentary bout patterns

Description

These functions are invoked in the analyze_bouts when method == "SB_summary" unless suppressed with an additional patterns = FALSE argument.

Usage

sb_patterns(d, bouts, x)

sb_range_bouts(d, bouts)

usual_bout_duration(d, bouts)

fragmentation_index(d, bouts, x)

gini(d, bouts)

alpha(d, bouts)

Arguments

d

one-row data frame with bout information

bouts

data frame with information for each bout, based on PAutilities::index_runs

x

original data stream

epoch_length_sec

numeric. The epoch length of x


paulhibbing/PBpatterns documentation built on Feb. 17, 2024, 5:34 a.m.