fun.collapse: Summary statistics

Description Usage Arguments Value Author(s) References See Also

Description

Accessory function for collapsing accelerometer files.

Usage

1
2
3
fun.collapse(x, fun = list(mean = function(x) mean(x, na.rm = TRUE),
median = function(x) median(x, na.rm = TRUE),
sd = function(x) sd(x, na.rm = TRUE)))

Arguments

x

numeric vector.

fun

named list of functions to be applied to x.

Value

a list of named values of the same length as fun.

Author(s)

Marco Geraci

References

Geraci M, Rich C, Sera F, Cortina-Borja M, Griffiths LJ, and Dezateux C (2012). Technical report on accelerometry data processing in the Millennium Cohort Study. London, UK: University College London. Available at http://discovery.ucl.ac.uk/1361699

See Also

collapse.accfile


pawacc documentation built on May 2, 2019, 5:12 a.m.