plot.kernel.fun {kedd} | R Documentation |
Plot of r'th Derivative Kernel Function
Description
The plot.kernel.fun
function loops through calls to
the kernel.fun
function. Plot for r'th derivative
kernel function one-dimensional.
Usage
## S3 method for class 'kernel.fun'
plot(x, ...)
Arguments
x |
object of class |
... |
other graphics parameters, see |
Value
Plot of 1-d for r'th derivative kernel function are sent to graphics window.
Author(s)
Arsalane Chouaib Guidoum acguidoum@usthb.dz
See Also
Examples
## Gaussian kernel
oldpar <- par(no.readonly = TRUE)
dev.new()
par(mfrow=c(2,2))
plot(kernel.fun(kernel="gaussian",deriv.order=0))
plot(kernel.fun(kernel="gaussian",deriv.order=1))
plot(kernel.fun(kernel="gaussian",deriv.order=2))
plot(kernel.fun(kernel="gaussian",deriv.order=3))
## Silverman kernel
dev.new()
par(mfrow=c(2,2))
plot(kernel.fun(kernel="silverman",deriv.order=0))
plot(kernel.fun(kernel="silverman",deriv.order=1))
plot(kernel.fun(kernel="silverman",deriv.order=2))
plot(kernel.fun(kernel="silverman",deriv.order=3))
par(oldpar)
[Package kedd version 1.0.4 Index]