ks (version 1.10.7)

plot.kfs: Plot for kernel feature significance

Description

Plot for kernel significant regions for 1- to 3-dimensional data.

Usage

# S3 method for kfs
plot(x, display="filled.contour2", col="orange", colors="orange", abs.cont,
   alphavec=0.4, add=FALSE, ...)

Arguments

x

an object of class kfs (output from kfs)

display

type of display, "slice" for contour plot, "persp" for perspective plot, "image" for image plot, "filled.contour" for filled contour plot (1st form), "filled.contour2" (2nd form) (2-d)

col,colors

colour for contour region (1-d, 2-d), (3-d)

abs.cont

absolute contour height. Default is 0.5.

alphavec

transparency value for contour (3-d)

add

flag to add to current plot. Default is FALSE.

...

other graphics parameters used in plot.kde

Value

Plots for 1-d and 2-d are sent to graphics window. Plot for 3-d is sent to RGL window.

See Also

plot.kde

Examples

Run this code
# NOT RUN {
library(MASS)
data(geyser)
geyser.fs <- kfs(geyser, binned=TRUE)
plot(geyser.fs)
# }

Run the code above in your browser using DataCamp Workspace