Description Usage Arguments Value Author(s)
View source: R/interpolate_surface.R
interpolate_surface
uses the akima package to interpolate
and the fields package to smooth the surface.
1 2 | interpolate_surface(df, x = "x", y = "y", z = "z", smooth = TRUE,
length = 100)
|
df |
Data frame. |
x |
Variable. |
y |
Variable. |
z |
Variable. |
smooth |
Should the surface be smoothed? |
length |
Length of grid to interpolate to. |
Data frame.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.