Description Usage Arguments Value
View source: R/interpolation.R
Regrid data using a bilinear weights.
1 | interp_surface_grid(x, y, z, x_g, y_g, edge = TRUE)
|
x, y |
vectors giving the coordinates of the grid to be interpolated |
z |
vector of the values to be interpolated (same length as x and y) |
x_g, y_g |
vectors giving the coordinates of the new grid (same length) |
edge |
logical, if TRUE the grid outside the range of x and y will be extrapolated using the nearest grid |
a vector of the regridded values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.