Learn R Programming

provenance (version 4.4)

plot.KDEs: Plot one or more kernel density estimates

Description

Plots an object of class KDEs

Usage

# S3 method for KDEs
plot(x, sname = NA, annotate = TRUE, pch = "|", ...)

Arguments

x

an object of class KDEs

sname

optional sample name. If sname=NA, all samples are shown on a summary plot

annotate

add a time axis?

pch

symbol to be used to mark the sample points along the x-axis. Change to NA to omit.

...

optional parameters to be passed on to the summaryplot function

See Also

KDEs summaryplot

Examples

Run this code
data(Namib)
kdes <- KDEs(Namib$DZ)
plot(kdes,ncol=2)

Run the code above in your browser using DataLab