compute.bouts.info: Summarize outcomes from data processed using the Sojourn...

Description Usage Arguments Value Examples

View source: R/compute_bouts_info.R

Description

A function to summarize predictions made by the original Sojourn method of Lyden et al. (2014).

Usage

1
compute.bouts.info(est.mets, units = c("secs", "mins"))

Arguments

est.mets

numeric vector of predicted metabolic equivalents

units

time units associated with each row of data

Value

a data frame summarizing the predictions made by the Sojourn method.

Examples

1
2
3
4
5
6
7
8
9
data(example_data, package = "Sojourn")
example_data <- soj_3x_original(
  example_data$axis1,
  example_data$axis2,
  example_data$axis3,
  example_data$Vector.Magnitude
)

compute.bouts.info(example_data$METs)

Sojourn documentation built on May 8, 2021, 1:06 a.m.