Heatmap {PASenseWear} | R Documentation |
Heatmap
Description
Generate a heatmap to show different activity intensities (in MET) at different time of different days.
Usage
Heatmap(data, a, category = FALSE)
Arguments
data |
A csv file for one participant with multiple days' activity records from SenseWear. Data format refers to provided |
a |
The desired cutpoints of METs. Lower and upper limits must be specified. E.g. |
category |
Default is FALSE which means treating METs as continuous. |
Value
graph
A heatmap generated by ggplot
with x axis Time and y axis Date
Examples
#Continuous METs
Heatmap(sampledata);
#Categorical METs with cutpoint 0,3,5,7
Heatmap(sampledata,c(0,3,5,7),category=TRUE)
[Package PASenseWear version 1.0 Index]