plot.hts: plot time series of sleeping time

Description Usage Arguments Author(s)

View source: R/sleep.R

Description

plot sleeping time, as daily time series or as boxplot, categorized on month or on day of the week

Usage

1
plot.hts(hts, type = c("ts", "month", "weekday"))

Arguments

hts

An object of class xts

type

If "ts", the time series is plotted. If "month", data are aggregted in box-whiskers on monthly basis. If "weekday", boxplot are based on the day of the week.

Author(s)

Giovanni Bonafe'


jobonaf/sleepR documentation built on May 19, 2019, 2:58 p.m.