powered by
Plot for kernel significant regions for 1- to 3-dimensional data.
# S3 method for kfs plot(x, display="filled.contour2", col="orange", colors="orange", abs.cont, alphavec=0.4, add=FALSE, ...)
an object of class kfs (output from kfs)
kfs
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)
colour for contour region (1-d, 2-d), (3-d)
absolute contour height. Default is 0.5.
transparency value for contour (3-d)
flag to add to current plot. Default is FALSE.
other graphics parameters used in plot.kde
plot.kde
Plots for 1-d and 2-d are sent to graphics window. Plot for 3-d is sent to RGL window.
# NOT RUN { library(MASS) data(geyser) geyser.fs <- kfs(geyser, binned=TRUE) plot(geyser.fs) # }
Run the code above in your browser using DataLab