plot_helper: Helper function for the plot methods.

View source: R/generics.R

plot_helperR Documentation

Helper function for the plot methods.

Description

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

Usage

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 April 4, 2025, 2:33 a.m.