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

Description Usage Arguments Value Examples

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
10
11
12
data(example_data, package = "Sojourn")
if (isTRUE(requireNamespace("Sojourn.Data"))) {
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 6, 2019, 9:02 a.m.