plot.FIPS_simulation | R Documentation |
S3 plot method for FIPS_simulation
## S3 method for class 'FIPS_simulation'
plot(
x,
from = NULL,
to = NULL,
plot_stat = NULL,
fatigue_CIs = FALSE,
observed = NULL,
observed_y = NULL,
...
)
x |
A valid .FIPS_simulation series that has been simulated |
from |
The starting datetime to be plotted |
to |
The ending datetime to be plotted |
plot_stat |
Which variables to plot |
fatigue_CIs |
A logical indicating whether uncertainty intervals on fatigue should be plotted |
observed |
A data frame with any observed sleepiness ratings or objective indicators to plot against predictions |
observed_y |
The name of the observed sleepiness ratings in the observed data frame |
... |
additional arguments passed to ggplot2 theme_classic |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.