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

View source: R/compute_bouts_info.R

compute.bouts.infoR Documentation

Summarize outcomes from data processed using the Sojourn method

Description

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

Usage

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

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 Nov. 20, 2025, 1:07 a.m.