Arguments
y
vector of the response values
h.first
the smoothing parameter used for the initial smoothing stage.
x
vector of the covariate values; if unset, it is assumed to be 1:length(y)
.
minh
the minimum value of the interval where the optimal smoothing parameter
is searched for (default is 0.5).
maxh
the maximum value of the interval where the optimal smoothing parameter
is searched for (default is 10).
method
character value which specifies the optimality criterium adopted;
possible values are "no.cor"
, "direct"
(default), and "indirect"
.
...
other optional parameters are passed to the sm.options
function, through
a mechanism which limits their effect only to this call of the function;
those relevant for this function are the following:
ngrid
the number of points to be considered in (minh,maxh)
. Default: ngrid=15
.
display
if this is not equal to "none"
, graphical output is produced on the
current graphical device.