50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

hopit (version 0.11.6)

plot.hopitCP: Plotting Cut-Points

Description

Plotting Cut-Points

Usage

# S3 method for hopitCP
plot(
  x,
  decreasing.levels = x$decreasing.levels,
  mar = c(4, 4, 1, 1),
  oma = c(0, 0, 0, 0),
  XLab = "Health index",
  XLab.cex = 1.1,
  YLab = "Counts",
  YLab.cex = 1.1,
  border.col = 2,
  border.lty = 2,
  border.lwd = 1.5,
  group.labels.type = c("middle", "border", "none"),
  ...
)

Arguments

decreasing.levels

a logical indicating whether self-reported health classes are ordered in decreasing order.

mar, oma

graphic parameters, see par.

XLab, XLab.cex

a label of the x axis and it's size.

YLab, YLab.cex

a label of the y axis and it's size.

border.lwd, border.lty, border.col

graphic parameters for vertical lines used to plot cut-points.

group.labels.type

a position of the legend. One of middle, border, or none.

...

further plotting arguments.

Author

Maciej J. Danko