plot: plot

Description Usage Arguments Details Value See Also

Description

Plot a tidyvpcobj.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## S3 method for class '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"
)

Arguments

x

A tidyvpcobj object.

...

Further arguments can be specified but are ignored.

show.points

Should the observed data points be plotted?

show.boundaries

Should the bin boundary be displayed?

show.stats

Should the VPC stats be displayed?

show.binning

Should the binning be displayed by coloring the observed data points by bin?

xlab

A character label for the x-axis.

ylab

A character label for the y-axis.

color

A character vector of colors for the percentiles, from low to high.

linetype

A character vector of linetyps for the percentiles, from low to high.

legend.position

A character string specifying the position of the legend.

facet.scales

A character string specifying the 'scales' argument to use for facetting.

custom.theme

A Character string specifying theme from ggplot2 package

Details

Use ggplot2 graphics to plot and customize the appearance of VPC

Value

A 'ggplot' object.

See Also

ggplot


tidyvpc documentation built on Jan. 13, 2021, 6:31 a.m.