Learn R Programming

smacpod (version 1.2.3)

plot.kdenv: Plots object from kdest of class kdenv.

Description

Plots object from kdest of class kdenv.

Usage

## S3 method for class 'kdenv':
plot(x, ..., shadecol1 = "grey", shadecol2 = "lightblue")

Arguments

x
An object of class kdenv to be plotted.
...
Additional graphical parameters passed to plot.fv function.
shadecol1
Shade color for max/min envelopes.
shadecol2
Shade color for confidence envelopes.

Examples

Run this code
data(grave)
kd1 = kdest(grave, nsim = 19, level = 0.9)
plot(kd1)

Run the code above in your browser using DataLab