The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
A bare-bones implementation of local linear regression, using high-level functions. Can handle both numerical and non-numerical (factor) variables. Non-numerical regressors are converted to factors.
You can install the current version of loclm like so:
install.packages("loclm") # once only## local linear fit for the stack-loss data
library(loclm)
x <- stack.x
y <- stack.loss
fit <- loclm(x, y, span = 0.5)
yhat <- fitted(fit)See the help file ?loclm for more examples.
new function x2m() to replace calls to scale_df() and model.matrix().
new function LOO_loclm() to do leave-one-out more efficiently.
option of parallel predict using the ‘future.apply’ package.
faster inline implementation of sweep().
other small tidy-ups of the code and vignette.
scale_df() is no longer used, but retained for backward compatibility.
loclm() : local linear regression
predict(), fitted(), residuals(), hatvalues() : S3 regression methods.
scale_df() : scale numeric variables in a data.frame.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.