plot.FIPS_simulation: plot.FIPS_simulation

View source: R/FIPS_plot.R

plot.FIPS_simulationR Documentation

plot.FIPS_simulation

Description

S3 plot method for FIPS_simulation

Usage

## S3 method for class 'FIPS_simulation'
plot(
  x,
  from = NULL,
  to = NULL,
  plot_stat = NULL,
  fatigue_CIs = FALSE,
  observed = NULL,
  observed_y = NULL,
  ...
)

Arguments

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


humanfactors/FIPS documentation built on Aug. 24, 2023, 6:33 p.m.