Description Usage Arguments Value
Facilitates a knn
-type bandwidth by calculating the proportion sum(w) / n. Called repeatedly by optimize
in lagr.dispatch
to home in on the desired knn
.
1 2 |
bw |
bandwidth for which to compute |
loc |
location around which to center the kernel |
coords |
matrix of observation locations |
dist |
vector of distances from central location to the observation locations |
kernel |
kernel function for generating the local observation weights |
target |
targeted |
prior.weights |
vector of prior observation weights provided by the user |
total.weight |
sum of prior weights |
verbose |
print detailed information about our progress? |
difference between the calculated sum(w) / total.weight
and the target
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.