plot.IRRsim: Plot the results of an IRR simulation.

View source: R/plot.IRRsim.R

plot.IRRsimR Documentation

Plot the results of an IRR simulation.

Description

Returns a ggplot2 expression.

Usage

## S3 method for class 'IRRsim'
plot(x, method = "loess", stat, point.alpha = 0.3, title = TRUE, ...)

Arguments

x

the result of simulateIRR.

method

the method used to find predicted values. Possible values are loess, linear, and quadratic.

stat

the IRR statistic to return summary for, or "all" for all metrics.

point.alpha

the alpha used for points.

title

the title of the plot

...

currently unused.

Value

a 'ggplot2' expression.


jbryer/IRRsim documentation built on April 23, 2023, 1:58 a.m.