landscape_as_list(landscape)## S3 method for class 'SpatRaster'landscape_as_list(landscape)## S3 method for class 'RasterLayer'landscape_as_list(landscape)## S3 method for class 'RasterBrick'landscape_as_list(landscape)## S3 method for class 'RasterStack'landscape_as_list(landscape)## S3 method for class 'stars'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)## S3 method for class 'PackedSpatRaster'landscape_as_list(landscape)
Arguments
landscape: A categorical raster object: SpatRaster; Raster* Layer, Stack, Brick; stars or a list of SpatRasters