dow_tod_plots {bp} | R Documentation |
Blood Pressure Tables in Graphical Format
Description
Blood Pressure Tables in Graphical Format
Usage
dow_tod_plots(data, subj = NULL)
Arguments
data |
A processed dataframe resulting from the |
subj |
Optional argument. Allows the user to specify and subset specific subjects
from the |
Value
A list of four 'gtables' that correspond to the tables for Day of Week and
Time of Day broken down by both SBP
and DBP
.
Examples
data("bp_hypnos")
hyp_proc <- process_data(bp_hypnos,
bp_type = 'abpm',
sbp = "syst",
dbp = "DIAST",
date_time = "date.time",
id = "id",
wake = "wake",
visit = "visit",
hr = "hr",
map = "map",
rpp = "rpp",
pp = "pp",
ToD_int = c(5, 13, 18, 23))
rm(bp_hypnos)
dow_tod_plots_out <- dow_tod_plots(hyp_proc)
grid::grid.draw(
gridExtra::grid.arrange(dow_tod_plots_out[[1]], dow_tod_plots_out[[2]], ncol = 2)
)
[Package bp version 2.1.0 Index]