Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.kfs

Plot for kernel feature significance


Description

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

Usage

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

Arguments

x

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), "plot3D" (3-d), "rgl" (3-d)

col,colors

colour for contour region

abs.cont

absolute contour height. Default is 0.5.

alphavec

vector of transparency values 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 graphics/RGL window.

See Also

Examples

library(MASS)
data(geyser)
geyser.fs <- kfs(geyser, binned=TRUE)
plot(geyser.fs)

ks

Kernel Smoothing

v1.12.0
GPL-2 | GPL-3
Authors
Tarn Duong [aut, cre], Matt Wand [ctb], Jose Chacon [ctb], Artur Gramacki [ctb]
Initial release
2021-02-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.