Learn R Programming

kedd (version 1.0.0)

plot.h.amise: Plot for Asymptotic Mean Integrated Squared Error

Description

The plot.h.amise function loops through calls to the h.amise function. Plot for asymptotic mean integrated squared error function for 1-dimensional data.

Usage

## S3 method for class 'h.amise':
plot(x, seq.bws=NULL, \dots)
## S3 method for class 'h.amise':
lines(x,seq.bws=NULL, \dots)

Arguments

x
object of class h.amise (output from h.amise).
seq.bws
the sequence of bandwidths in which to compute the AMISE 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 AMISE function are sent to graphics window.
  • kernelname of kernel to use.
  • deriv.orderthe derivative order to use.
  • seq.bwsthe sequence of bandwidths.
  • amisethe values of the AMISE function in the bandwidths grid.

newcommand

\CRANpkg

href

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

pkg

#1

See Also

h.amise.

Examples

Run this code
plot(h.amise(bimodal,deriv.order=0))

Run the code above in your browser using DataLab