Spline interpolation and smoothing on the sphere.
interpolate_spline( observations, targets, value, lon_obs = lon, lat_obs = lat, lon_targets = lon, lat_targets = lat, k = 50 )
data.frame of observations.
data.frame of locations to calculate the interpolated and smoothed values for (target points).
Column with values in
(default 50) is the basis dimension. For small data sets reduce
Object equal to object
targets including an extra column with predicted values.
observations should include at least columns for longitude and latitude.
targets should include at least columns for longitude, latitude and value of interest to interpolate and smooth.
A smooth of the general type discussed in Duchon (1977) is used: the sphere is embedded in a 3D Euclidean space, but smoothing employs a penalty based on second derivatives (so that locally as the smoothing parameter tends to zero we recover a "normal" thin plate spline on the tangent space). This is an unpublished suggestion of Jean Duchon.
ordinary kriging for interpolation and smoothing on the sphere by means of kriging.