response_hour_hist {studentlife} | R Documentation |
response_hour_hist
Description
This function produces a histogram that visualizes the frequencies of observations within hourly blocks, or blocks of multiple hours.
Usage
response_hour_hist(
tab,
break_hours = 10,
xlab = "Hours into study",
main = paste0("Distribution of ", attr(tab, "table"), " response times"),
...
)
Arguments
tab |
A StudentLife tibble with time information,
(i.e., and object of class |
break_hours |
Specify the width in hours of each histogram bin. |
xlab |
Argument passed to |
main |
Argument passed to |
... |
Arguments passed to |
Examples
d <- tempdir()
download_studentlife(location = d, url = "testdata")
tab_PAM <- load_SL_tibble(schema = "EMA", table = "PAM", location = d)
response_hour_hist(tab_PAM)
[Package studentlife version 1.1.0 Index]