Description Usage Arguments Details Value Examples
View source: R/landscape_as_list.R
Convert raster input to list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | landscape_as_list(landscape)
## S3 method for class 'RasterLayer'
landscape_as_list(landscape)
## S3 method for class 'RasterStack'
landscape_as_list(landscape)
## S3 method for class 'RasterBrick'
landscape_as_list(landscape)
## S3 method for class 'stars'
landscape_as_list(landscape)
## S3 method for class 'SpatRaster'
landscape_as_list(landscape)
## S3 method for class 'list'
landscape_as_list(landscape)
## S3 method for class 'matrix'
landscape_as_list(landscape)
## S3 method for class 'numeric'
landscape_as_list(landscape)
|
landscape |
Raster* Layer, Stack, Brick, Stars or a list of rasterLayers |
Mainly for internal use
list
1 | landscape_as_list(raster::stack(landscape, landscape))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.