Arguments
x
vector of the covariate values
y
vector of the response values; they must be nonnegative integers not larger
than those of N
.
h
the smoothing parameter; it must be positive.
N
a vector containing the binomial denominators.
If missing, it is assumed to contain all 1's.
...
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:
add
if graphical output is produced, this parameter controls whether a
new plot is created, or graphical output is added to the existing one.
Default: add=F
.
col
colour used for plotting curves and points. Default: col=1
.
display
controls the type of graphical output; possible values are
"estimate"
(default), "se"
, "none"
.
eval.points
the vector of points on the x
axis where the regression must be
estimated. If the parameter eval.points
is not given, this vector
is chosen to be formed by ngrid
equally spaced points between
min(x)
and