Plot for kernel cumulative distribution estimate

Share:

Description

Plot for kernel cumulative distribution estimate 1- to 3-dimensional data.

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## 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

1
2
3
4
5
6
library(MASS)
data(iris)
Fhat <- kcde(x=iris[,1])
plot(Fhat, xlab="Sepal.Length")
Fhat <- kcde(x=iris[,1:2])
plot(Fhat, thin=3)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.