A helper function for the plot methods that does most of the work under the hood.
plot_helper(
x,
range = NULL,
plot_start = FALSE,
zero_line = TRUE,
ptype = c("plot", "lines", "points"),
...
)None.
A kdensity object.
An optional range vector; like x in plot.default.
Logical; if TRUE, plots the parametric start only.
Logical; if TRUE, adds a line at y = 0.
The kind of plot to make
Passed to plot.default.