Skip to contents

Logistic Regression Plot

Usage

# S3 method for 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.