plot_helper: Helper function for the plot methods.

Description Usage Arguments Value

View source: R/generics.R

Description

A helper function for the plot methods that does most of the work under the hood.

Usage

1
2
3
4
5
6
7
8
plot_helper(
  x,
  range = NULL,
  plot_start = FALSE,
  zero_line = TRUE,
  ptype = c("plot", "lines", "points"),
  ...
)

Arguments

x

A kdensity object.

range

An optional range vector; like x in plot.default.

plot_start

Logical; if TRUE, plots the parametric start only.

zero_line

Logical; if TRUE, adds a line at y = 0.

ptype

The kind of plot to make

...

Passed to plot.default.

Value

None.


kdensity documentation built on Oct. 23, 2020, 8:32 p.m.