View source: R/extend.raster.r
extend.raster | R Documentation |
Extend an existing raster by NOVALUE data and opionally write it as a BIL raster file
extend.raster(
x,
new.extent,
write.raster = TRUE,
filename = NULL,
mp = 1,
noValue = NULL
)
x |
a raster object. May be a raster, a RasterBrick or a RasterStack. |
new.extent |
either an extent or a numerical vector that can be coerced to an extent. |
write.raster |
logical. Should the extended raster be written to disk (TRUE) or returned (FALSE)? |
filename |
character string. Filename used to write the extended raster. Only used if write.raster==TRUE. |
mp |
numeric. multiplicator to multiply the (existing) raster with. |
noValue |
numeric. Sets the nodata value for the new raster. |
a raster object if write.raster == FALSE
Simon Frey
readINCABIL writeINCABIL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.