daily.stepping.activity.bubble.chart {activPAL}R Documentation

Processes a folder of events files to output bubble charts showing the daily distribution of stepping cadences

Description

Processes a folder of events files to output bubble charts showing the daily distribution of stepping cadences. A bubble chart shows daily patterns in stepping behaviour. For each valid day of activity data a bubble is plotted on the chart. The centre of bubble indicates the weighted median cadence of all stepping bouts of duration between 10 seconds and one minute (x-axis position) and the weighted median cadence of all stepping bouts of duration greater than or equal to one minute (y-axis position). The height of a bubble indicates the weighted upper quartile (y - max) and lower quartile (y - min) cadence across the stepping bouts of duration greater than or equal to one minute occurring during the given day. The width of a bubble indicates the weighted upper quartile (x - right) and lower quartile (x - left) cadence across the stepping bouts of duration between 10 seconds and one minute occurring during the given day. Each bubble chart is saved as a .png image.

Usage

daily.stepping.activity.bubble.chart(input_folder, output_folder)

Arguments

input_folder

The filepath for the folder where the events files to be processed are saved

output_folder

The filepath for the folder where the bubble charts are to be saved

Examples

input_folder <- paste(system.file("extdata", "", package = "activPAL"),"/",sep="")
output_folder <- paste(tempdir(),"/",sep="")

activPAL::daily.stepping.activity.bubble.chart(input_folder,output_folder)

[Package activPAL version 0.1.3 Index]