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

View source: R/kernel.R

plot.kernel.convR Documentation

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, ...)

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.

Author(s)

Arsalane Chouaib Guidoum acguidoum@usthb.dz

See Also

kernel.conv.

Examples

## Gaussian kernel
oldpar <- par(no.readonly = TRUE)
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))

par(oldpar)

kedd documentation built on May 29, 2024, 1:45 a.m.