Description Usage Arguments Details Value See Also Examples
Find the nearest neighbor for a set of data points
1 |
p |
matrix of variable values, each row is a data point |
y |
vector of values, each entry corresponds to one row in |
q |
vector of variable values, each entry corresponds to one column of |
nn finds the n-dimensional nearest neighbor for given datapoint
an interpolated value for q
Other interp:
bezier,
bilinear(),
cubicspline(),
linterp(),
polyinterp(),
pwiselinterp()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.