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

Description Usage Arguments Value Author(s) See Also Examples

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

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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))

Example output

dev.new(): using pdf(file="Rplots1.pdf")

kedd documentation built on May 2, 2019, 7:32 a.m.