View source: R/lagr.dispatch.r
Loops through estimation locations with foreach, sending each local model to a core for fitting. If zero or one cores are registered, then foreach computes the local models sequentially.
1 2 3 4 5 |
x |
matrix of observed covariates |
y |
vector of observed responses |
family |
exponential family distribution of the response |
coords |
matrix of locations, with each row giving the location at which the corresponding row of data was observed |
fit.loc |
matrix of locations where the local models should be fitted |
D |
pre-specified matrix of distances between locations |
bw |
bandwidth parameter |
bw.type |
type of bandwidth - options are |
verbose |
print detailed information about our progress? |
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 |
kernel function for generating the local observation weights |
tol.loc |
tolerance for the tuning of an adaptive bandwidth (e.g. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.