plot.dkde | R Documentation |
The plot.dkde
function loops through calls to
the dkde
function. Plot for kernel density
derivative estimate for 1-dimensional data.
## S3 method for class 'dkde'
plot(x, fx = NULL, ...)
## S3 method for class 'dkde'
lines(x, ...)
x |
object of class |
fx |
add to graphics the true density derivative (class : |
... |
other graphics parameters, see |
The 1-d plot is a standard plot of a 1-d curve. If
!is.null(fx)
then a true density derivative is added.
Plot of 1-d kernel density derivative estimates are sent to graphics window.
Arsalane Chouaib Guidoum acguidoum@usthb.dz
dkde
, plot.density
in package "stats" if deriv.order = 0
.
plot(dkde(kurtotic,deriv.order=0,kernel="gaussian"),sub="")
lines(dkde(kurtotic,deriv.order=0,kernel="biweight"),col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.