| interpolate_spline | R Documentation |
Deprecated. Spline interpolation and smoothing on the sphere. This function is outside the main scope of spatialrisk and will be removed in a future release.
interpolate_spline(
observations,
targets,
value,
lon_obs = lon,
lat_obs = lat,
lon_targets = lon,
lat_targets = lat,
k = 50
)
observations |
data.frame of observations. |
targets |
data.frame of locations to calculate the interpolated and smoothed values for. |
value |
Column with values in |
lon_obs |
Column in |
lat_obs |
Column in |
lon_targets |
Column in |
lat_targets |
Column in |
k |
Basis dimension. For small data sets reduce |
Object equal to targets with an extra prediction column.
Splines on
the sphere
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.