Description Usage Arguments Value
View source: R/lagr.fit.inner.r
This function augments the covariates with local interactions, drops observations with zero weight, runs the adaptive grouped lasso, computes the residuals, and returns the necessary values for tuning or reporting.
1 2 3 4 |
x |
matrix of observed covariates |
y |
vector of observed responses |
loc |
location at which to fit a model |
family |
exponential family distribution of the response |
varselect.method |
criterion to minimize in the regularization step of
fitting local models - options are |
tuning |
logical indicating whether this model will be used to tune the bandwidth, in which case only the tuning criteria are returned |
kernel.weights |
vector of observation weights from the kernel |
prior.weights |
vector of prior observation weights provided by the user |
longlat |
|
list of coefficients, nonzero coefficient identities, and tuning data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.