Arguments
...
numeric predictor variable(s)
alpha
Smoothing parameter. A single number (e.g. alpha=0.7
)
is interpreted as a nearest neighbor fraction. With two
componentes (e.g. alpha=c(0.7,1.2)
), the first component
is a nearest neighbor fraction, and the second component
deg
degree of polynomials to be fitted locally.
scale
A scale to apply to each variable. This is especially important for
multivariate fitting, where variables may be measured in
non-comparable units. It is also used to specify the frequency
for ang
terms. I kern
Weight function, default = "tcub"
.
Other choices are "rect"
, "trwt"
, "tria"
,
"epan"
, "bisq"
and "gauss"
. Choices may be restricted
when derivatives are requir
ev
Evaluation Structure, default = "tree"
. Also available are
"phull"
, "data"
, "grid"
, "kdtree"
,
"kdcenter"
and "crossval"
. ev="none"
gives no
evalu
maxk
Controls space assignment for evaluation structures.
For the adaptive evaluation structures, it is impossible to be sure
in advance how many vertices will be generated. If you get
warnings about `Insufficient vertex space', Locfit's default assigmen