imagePrep | R Documentation |
Called by interpolation to preform the interpolation and return image data
imagePrep(
X,
Y,
Z,
dat,
aspr = 1.34564,
res = 0.02,
summary.dat = F,
log.dat = T,
method = "gstat",
matrix.dat = T,
idp = 0.5,
nmax = 7,
maxdist = Inf,
subset.poly = NULL,
covariate.dat = NULL,
regrid = F,
mod.type = "Sph",
subscale = 0.01
)
X |
= undocumented |
Y |
= undocumented |
Z |
= undocumented |
dat |
= a dataframe with 3 columns (longitude, latitude, variable to be mapped) |
aspr |
= aspect ratio for a given latitude (default is for 45 deg.) |
res |
= resolution of image in decimal degrees |
summary.dat |
= undocumented |
log.dat |
= logical, whether to log data |
method |
= 'gstat' = gstat (idw) function from gstat library, 'krige' = krige function from gstat library, 'none' = no interpolation function |
matrix.dat |
= undocumented |
idp |
= undocumented |
nmax |
= undocumented |
maxdist |
nmax, idp, mod.type = arguments to be passed to gstat function (idp is inverse distance power) |
subset.poly |
= inclusion polygon to subset spatially, 'square' used to close polygons (useful when not smoothing or blanking) |
covariate.dat |
= covariate data typically used in kriging |
regrid |
= undocumented |
mod.type |
= undocumented |
subscale |
= size of inset when subset.poly = 'square' |
Brad Hubley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.