- formula
an object of class formula
(or one that can be coerced to that class): a symbolic description of the model to be fitted.
- data
an optional data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the variables in the model. If not found in data
, the variables are taken from environment(formula)
, typically the environment from which the function was called.
- subset
an optional vector specifying a subset of observations to be used in the fitting process.
- point
a matrix of points where predictions will be computed and returned.
- windows
a vector or a squared matrix of bandwidths for the smoothing estimation procedure.
- prob
a vector of probabilities of observing each response (n). Defaults to NULL
.
- sigma.hat
estimate of the residual standard error. If NULL
we use the mad of the residuals obtained with local medians.
- win.sigma
a vector of bandwidths for estimating sigma.hat. If NULL
it uses the argument windows if it is a vector or its diagonal if it is a matrix.
- epsilon
convergence criterion.
- type
three different type of estimators can be selected: type '0'
(local constant on all the covariates), type '1'
(local linear smoother on all the covariates), type 'alpha'
(local polynomial smoother only on the direction of interest).
- degree
degree of the local polynomial smoother in the direction of interest when using the estimator of type 'alpha'
. Defaults to NULL
for the case when using estimators of type '0'
or '1'
.
- typePhi
one of either 'Tukey'
or 'Huber'
.
- k.h
tuning constant for a Huber-type loss function. Defaults to 1.345
.
- k.t
tuning constant for a Tukey-type loss function. Defaults to 4.685
.
- max.it
maximum number of iterations for the algorithm.
- qderivate
if TRUE, it calculates g^(q+1)/(q+1)!
for each component only for the type 'alpha'
method. Defaults to FALSE
.
- orderkernel
order of the kernel used in the nuisance directions when using the estimator of type 'alpha'
. Defaults to 2
.
- Qmeasure
a matrix of points where the integration procedure ocurrs. Defaults to NULL
for calcuting the integrals over the sample.