plot_actogram: plot_actogram

Description Usage Arguments Value Examples

Description

plots an actogram

Usage

1
plot_actogram(data, start_date = min(data$date), end_date = max(data$date))

Arguments

data

the activity data to plot

start_date

the start time

end_date

the end time

Value

the plot

Examples

1
2
3
4
5
6
7
f <- file.path(system.file(package = 'actogrammr'), 'testdata')
d <- read_clock_lab_file(file_name = list.files(path = f, full.names = TRUE)[1])
b <- bin_data(data = d, minutes_per_bin = 6)
## Not run: 
plot_actogram(data = b, start_date = '2010-01-01')

## End(Not run)

rcorty/actogrammr documentation built on May 29, 2019, 8:06 a.m.