Description Usage Arguments Value Examples
if_raster
is used to permit flexibility in the use of rasters, matrices or arrays in many functions.
1 | if_raster(x, r)
|
x |
an R object |
r |
an R object |
if r
is a raster, x
is converted to a raster with the same attributes as r
, otherwise returns x
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.