Last data update: 2014.03.03
|
R: Plot for kernel cumulative distribution estimate
Plot for kernel cumulative distribution estimate
Description
Plot for kernel cumulative distribution estimate 1- to 3-dimensional data.
Usage
## S3 method for class 'kcde'
plot(x, ...)
Arguments
x |
an object of class kcde (output from kcde )
|
... |
other graphics parameters used in plot.kde
|
Details
For kcde objects, the function headers for the different dimensional data are
## univariate
plot(Fhat, xlab, ylab="Distribution function", add=FALSE, drawpoints=FALSE,
col.pt="blue", jitter=FALSE, ...)
## bivariate
plot(Fhat, display="persp", cont=seq(10,90, by=10), abs.cont, xlab, ylab,
zlab="Distribution function", cex=1, pch=1, add=FALSE, drawpoints=FALSE,
drawlabels=TRUE, theta=-30, phi=40, d=4, col.pt="blue", col, col.fun,
lwd=1, border=NA, thin=1, ...)
Value
Plots for 1-d and 2-d are sent to graphics window. Plot for 3-d is sent to
RGL window (not yet implemented).
See Also
plot.kde
Examples
library(MASS)
data(iris)
Fhat <- kcde(x=iris[,1])
plot(Fhat, xlab="Sepal.Length")
Fhat <- kcde(x=iris[,1:2])
plot(Fhat, thin=3)
Results
|