Displaying 2 results from an estimated 2 matches for "r_lowesp".
Did you mean:
r_lowesw
2006 Jul 02
1
prefix 'R_' when calling external code
I noticed that in
https://svn.r-project.org/R/trunk/src/library/stats/R/loess.R
that we are now calling R_loess_raw, R_lowesw, R_lowesp, etc. I'm
interested to know what is the benefit/reason for the 'R_', as I am
unfamiliar with this prefix and do not see it mentioned in 'Writing R
Extensions.'
Thanks,
Ben
2011 Jun 16
0
Update: Is there an implementation of loess with more than 3 parametric predictors or a trick to a similar effect?
...t;, "nc", "nv", "liv", "lv")
enough <- (D + 1) * pars["nv"]
fit.kd <- list(parameter=pars, a=z$a[1L:pars[4L]], xi=z$xi[1L:pars[4L]],
vert=z$vert, vval=z$vval[1L:enough])
}
if(iterations > 1) {
pseudovalues <- .Fortran(R_lowesp,
as.integer(N),
as.double(y),
as.double(z$fitted.values),
as.double(weights),
as.double(robust),
integer(N),
pseudovalues = double(N))$pseudovalues
zz <- .C(R_loess_raw,
as.double(pseudovalues),
as.double(x),
as.double(weights),
as.double(weights),
a...