View source: R/plot_attendance_data.R
CAlculate how much data is missing for each patient, visit and test battery.
1 2 3 4 5 6 7 8 9 10 11 | plot_attendance_data(
missing_data_percentages,
id_var,
site_var,
patient_attendance,
width.expansion = 15,
height.expansion = 8,
first_column.width = unit(4, "cm"),
visit_string_removal = "Date_Form_Comp",
panel_sizes = c(1, 1)
)
|
missing_data_percentages |
The tibble generated by calculate_missing_data. |
id_var |
A quosure representing the column that contains the patient label. |
site_var |
A quosure representing the column that contains the site name for that patient. |
patient_attendance |
The tibble representing attendance at visits (containing the patient label, hospital, visit annotation and all dates). |
width.expansion |
A coefficient to control the width of the panels for each site |
height.expansion |
A coefficient to control the height of the panels for each visit |
first_column.width |
A measurement (using unit()) for the width of the row labels |
visit_string_removal |
A string to remove from the visit column name for display |
panel_sizes |
The relative sizes (heights) of the two panels |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.