soj_1x_original: Invoke the original uni-axial Sojourn method

Description Usage Arguments Value Examples

Description

Calls the uni-axial Sojourn method from Lyden et al. (2014).

Usage

1
2
soj_1x_original(counts, perc.cut = 0.05, perc.cut.2 = 0.12,
  perc.cut.3 = 0.55, too.short = 10, sit.cut = 90, long.soj = 120)

Arguments

counts

numeric vector of vertical axis counts

perc.cut

decision tree threshold 1

perc.cut.2

decision tree threshold 2

perc.cut.3

decision tree threshold 3

too.short

minimum length of one Sojourn

sit.cut

cut-point for determining sitting

long.soj

maximum length of one Sojourn

Value

a data frame of processed data

Examples

1
2
3
4
data(example_data, package = "Sojourn")
results_1x <- soj_1x_original(example_data$axis1)

head(results_1x)

Sojourn documentation built on May 6, 2019, 9:02 a.m.