Description Usage Arguments Examples
View source: R/output_processing.R
This function plots raw, filtered, or simulated data.
1 2 |
data |
data frame of raw, filtered, or simulated data. Must include the following columns: 'id' - stating the unique identifier for each subject; 'vl' - numeric vector stating the viral load measurements for each subject; 'time'- numeric vector stating the time at which each measurement was taken. |
textsize |
numeric value for base text size in ggplot. Default is 9. |
pointsize |
numeric value for point size in ggplot. Default is 1. |
linesize |
numeric value for line width in ggplot. Default is 0.5. |
facet_col |
numeric value for number of columns to use when faceting subject panels. Defaults to NULL (i.e. ggplot default). |
detection_threshold |
numeric value indicating the detection threshold of the assay used to measure viral load. Default value is 20. |
1 2 3 4 5 | set.seed(1234567)
simulated_data <- simulate_data(nsubjects = 20)
plot_data(simulated_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.