Description Usage Arguments Value
Plots a single lab as line plot or box plot.
1 2 |
data |
A data frame extracted from Diamonds in the 'raw“ format. |
lab |
A character vector of a single lab from the ObservationId column to be plotted. |
chart |
A character vector of the chart type. Available options include "line" or "box". |
id |
A Boolean indicating if the patient medical record numbers should be replaced with patient IDs. If this option is selected, filter the data first using the filterDiamonds function and specify IDs. |
timepoint |
A Boolean indicating if the the name of the time point should be displayed in place of the nubmer of days since the first time point. If this option is selected, filter the data first using the filterDiamonds function and time points. |
groups |
A Boolean indicating if the data should be grouped. If this option is selected, filter the data first using the filterDiamonds function and specify a grouping variable. |
interactive |
A Boolean indicating if the plot should interactive. If TRUE then plot is interactive, if FALSE then the plot is static. |
Returns a line plot or box plot in ggplot sytle.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.