Description Usage Arguments Value Examples

View source: R/unstructured_interpolation.R

Basically a wrapper around the SearchTrees package

1 | ```
nearest_neighbour_interpolation(xy, vals, newPts)
``` |

`xy` |
= points locations associated with values to interpolation from (typically nx2 matrix) |

`vals` |
= values at xy (can be a matix with 1 or more colums, and the same number of rows as xy) |

`newPts` |
= points where we want interpolated values (typically mx2 matrix) |

matrix/vector with as many columns as 'vals' and as many rows as 'newPts', containing the 'vals' interpolated to 'newPts'

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.