Learn R Programming

smacpod (version 1.4.1)

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

Description

Plots object from kdest of class kdenv.

Usage

# S3 method for kdenv
plot(x, ..., shadecol1 = "grey", shadecol2 = "lightblue",
  main = "", legend = FALSE)

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.

main

A main title for the plot. Default is blank.

legend

Logical for whether a legend should automatically be displayed. Default if FALSE.

See Also

plot.fv

Examples

Run this code
# NOT RUN {
data(grave)
kd1 = kdest(grave, nsim = 19, level = 0.9)
plot(kd1)
# }

Run the code above in your browser using DataLab