plot.h.ccv {kedd}R Documentation

Plot for Complete Cross-Validation

Description

The plot.h.ccv function loops through calls to the h.ccv function. Plot for complete cross-validation function for 1-dimensional data.

Usage

## S3 method for class 'h.ccv'
plot(x, seq.bws=NULL, ...)
## S3 method for class 'h.ccv'
lines(x,seq.bws=NULL, ...)

Arguments

x

object of class h.ccv (output from h.ccv).

seq.bws

the sequence of bandwidths in which to compute the complete cross-validation function. By default, the procedure defines a sequence of 50 points, from 0.15*hos to 2*hos (Over-smoothing).

...

other graphics parameters, see par in package "graphics".

Value

Plot of 1-d complete cross-validation function are sent to graphics window.

kernel

name of kernel to use.

deriv.order

the derivative order to use.

seq.bws

the sequence of bandwidths.

ccv

the values of the complete cross-validation function in the bandwidths grid.

Author(s)

Arsalane Chouaib Guidoum acguidoum@usthb.dz

See Also

h.ccv.

Examples

oldpar <- par(no.readonly = TRUE)
par(mfrow=c(2,1))
plot(h.ccv(trimodal,deriv.order=0),main="")
plot(h.ccv(trimodal,deriv.order=1),main="")
par(oldpar)

[Package kedd version 1.0.4 Index]