Learn R Programming

kedd (version 1.0.3)

plot.kernel.conv: Plot for Convolutions of r'th Derivative Kernel Function

Description

The plot.kernel.conv function loops through calls to the kernel.conv function. Plot for convolutions of r'th derivative kernel function one-dimensional.

Usage

## S3 method for class 'kernel.conv':
plot(x, \dots)

Arguments

x
object of class kernel.conv (output from kernel.conv).
...
other graphics parameters, see par in package "graphics".

Value

  • Plot of 1-d for convolution of r'th derivative kernel function are sent to graphics window.

newcommand

\CRANpkg

href

http://CRAN.R-project.org/package=#1

pkg

#1

See Also

kernel.conv.

Examples

Run this code
## Gaussian kernel

dev.new()
par(mfrow=c(2,2))
plot(kernel.conv(kernel="gaussian",deriv.order=0))
plot(kernel.conv(kernel="gaussian",deriv.order=1))
plot(kernel.conv(kernel="gaussian",deriv.order=2))
plot(kernel.conv(kernel="gaussian",deriv.order=3))

## Silverman kernel

dev.new()
par(mfrow=c(2,2))
plot(kernel.conv(kernel="silverman",deriv.order=0))
plot(kernel.conv(kernel="silverman",deriv.order=1))
plot(kernel.conv(kernel="silverman",deriv.order=2))
plot(kernel.conv(kernel="silverman",deriv.order=3))

Run the code above in your browser using DataLab