Description Usage Arguments Value See Also Examples
A wrapper function for raster::resample
to resample
raster objects in an ExpVarRasterList object or list.
1 2 3 4 5 |
x |
an ExpVarRasterList object or list of Raster* maps to be resampled |
y |
Raster* object with parameters that |
method |
method used to compute values for the new RasterLayer, should be
|
... |
additional arguments to |
An ExpVarRasterList object or list, depending on x
.
ExpVarRasterList
, raster::resample
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
## Plum Island Ecosystems
## observed data
obs <- ObsLulcRasterStack(x=pie,
pattern="lu",
categories=c(1,2,3),
labels=c("forest","built","other"),
t=c(0,6,14))
## explanatory variables
ef <- ExpVarRasterList(x=pie, pattern="ef")
## resample to ensure maps have same characteristics as observed maps
ef <- resample(x=ef, y=obs, method="ngb")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.