SummaryData.auc: Calculate summary value (area under curve) for each column...

Usage Arguments Note

Usage

1
SummaryData.auc(sensorData, breaks, type = "trapz", rectify = TRUE)

Arguments

sensorData

input dataframe that matches mhealth sensor data format.

breaks

could be "sec", "min", "hour", "day", "week", "month", "quarter" or "year"; or preceded by an interger and a space.

type

"trapz", "power", "sum", "meanBySecond", "meanBySize"

rectify

whether rectify the values before computing AUC, default is TRUE

Note

If certain break is not provided or missing, will use the entire sequence. The column name (except for the first column) of output dataframe would be: [SUMMARY\_METHOD]\_INPUT\_HEADER\_NAME.


qutang/mhealthformat-support-r documentation built on Sept. 3, 2019, 1:19 a.m.