plot.lrdf: Logistic Regression Plot

View source: R/plot.lrdf.R

plot.lrdfR Documentation

Logistic Regression Plot

Description

Logistic Regression Plot

Usage

## S3 method for class 'lrdf'
plot(
  x,
  colors = c("#1b9e77", "#7570b3", "#d95f02"),
  rel_heights = c(0.4, 0.6),
  title,
  ...
)

Arguments

x

the results of [IRRsim::simulatePredictionData()].

colors

the color scheme used for the three groups.

rel_heights

the relative heights of histogram to scatter plot.

title

the title of plot.

...

other parameters passed to cowplot::plot_grid.

Value

a ggplot2 expression of the logistic regression results.


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