Plot a tidyvpcobj
.
# S3 method for tidyvpcobj
plot(
x,
...,
show.points = TRUE,
show.boundaries = TRUE,
show.stats = !is.null(x$stats),
show.binning = isFALSE(show.stats),
xlab = NULL,
ylab = NULL,
color = c("red", "blue", "red"),
linetype = c("dotted", "solid", "dashed"),
legend.position = "top",
facet.scales = "free",
custom.theme = "ggplot2::theme_bw"
)
A tidyvpcobj object.
Further arguments can be specified but are ignored.
Should the observed data points be plotted?
Should the bin boundary be displayed?
Should the VPC stats be displayed?
Should the binning be displayed by coloring the observed data points by bin?
A character label for the x-axis.
A character label for the y-axis.
A character vector of colors for the percentiles, from low to high.
A character vector of linetyps for the percentiles, from low to high.
A character string specifying the position of the legend.
A character string specifying the `scales` argument to use for facetting.
A Character string specifying theme from ggplot2 package
A `ggplot` object.
Use ggplot2 graphics to plot and customize the appearance of VPC
ggplot