cal_weight.RdWeights for spatial interpolation
cal_weight(
points,
range,
res = 0.5,
cdd = 450,
m = 4,
nstation.max = 8,
nstation.min = 3,
wFUN = c("wFUN_adw", "wFUN_idw", "wFUN_thiessen", "wFUN_mean"),
.progress = "none",
...
)
cal_weight_sf(
points,
range = NULL,
res = 0.25,
cdd = 450,
m = 4,
nstation.max = 8,
nstation.min = 3,
wFUN = c("wFUN_adw", "wFUN_idw", "wFUN_thiessen", "wFUN_mean"),
.progress = "none",
...
)A matrix (N,2) with longitude and latitude of points of data observed
[xmin, xmax, ymin, ymax]
the grid resolution (degree)
the correlation decay distance (km) for adw and searching radius
for others, default (450).
distance weight (default 4)
Number of maximum stations used per point for interpolation, (default 8).
Number of minimum stations used per point for interpolation, (default 3).
wFUN_* functions, see wFUN() for details
name of the progress bar to use, see
create_progress_bar
other parameters to plyr::ldply
A data.frame with longitude, latitude and interpoled points