Description Usage Arguments Value Examples
View source: R/soj_1x_original.R
Calls the uni-axial Sojourn method from Lyden et al. (2014).
1 2 3 4 5 6 7 8 9 | 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
)
|
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 |
a data frame of processed data
1 2 3 | data(example_data, package = "Sojourn")
results_1x <- soj_1x_original(example_data$axis1)
utils::head(results_1x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.