plot.KDE: Plot a kernel density estimate

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

Plots an object of class KDE

Usage

1
2
## S3 method for class 'KDE'
plot(x, pch = "|", xlab = "age [Ma]", ylab = "", ...)

Arguments

x

an object of class KDE

pch

the symbol used to show the samples. May be a vector. Set pch = NA to turn them off.

xlab

the label of the x-axis

ylab

the label of the y-axis

...

optional parameters to be passed on to the graphics object

See Also

KDE

Examples

1
2
3
4
data(Namib)
samp <- Namib$DZ$x[['N1']]
dens <- KDE(samp,from=0,to=3000)
plot(dens)

provenance documentation built on May 29, 2017, 7:46 p.m.