plot.h.ucv {kedd} | R Documentation |
Plot for Unbiased Cross-Validation
Description
The plot.h.ucv
function loops through calls to
the h.ucv
function. Plot for unbiased cross-validation
function for 1-dimensional data.
Usage
## S3 method for class 'h.ucv'
plot(x, seq.bws=NULL, ...)
## S3 method for class 'h.ucv'
lines(x,seq.bws=NULL, ...)
Arguments
x |
object of class |
seq.bws |
the sequence of bandwidths in which to compute the unbiased
cross-validation function. By default, the procedure defines a sequence of
50 points, from |
... |
other graphics parameters, see |
Value
Plot of 1-d unbiased 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. |
ucv |
the values of the unbiased cross-validation function in the bandwidths grid. |
Author(s)
Arsalane Chouaib Guidoum acguidoum@usthb.dz
See Also
Examples
oldpar <- par(no.readonly = TRUE)
par(mfrow=c(2,1))
plot(h.ucv(trimodal,deriv.order=0),seq.bws=seq(0.06,0.2,length=50))
plot(h.ucv(trimodal,deriv.order=1),seq.bws=seq(0.06,0.2,length=50))
par(oldpar)
[Package kedd version 1.0.4 Index]