plot_actogram: plot_actogram

Description Usage Arguments Value Examples

View source: R/plot_actogram.R

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_files(file_names = list.files(path = f, full.names = TRUE))
b <- bin_data(data = d, minutes_per_bin = 6)
## Not run: 
plot_actogram(data = b, start_date = '2010-01-01')

## End(Not run)

Example output

Warning message:
`as_data_frame()` is deprecated as of tibble 2.0.0.
Please use `as_tibble()` instead.
The signature and semantics have changed, see `?as_tibble`.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated. 

actogrammr documentation built on May 1, 2019, 9:03 p.m.