landscapemetrics (version 1.4.4)

check_landscape: Check input landscape

Description

Check input landscape

Usage

check_landscape(landscape, verbose)

# S3 method for RasterLayer check_landscape(landscape, verbose = TRUE)

# S3 method for RasterStack check_landscape(landscape, verbose = TRUE)

# S3 method for RasterBrick check_landscape(landscape, verbose = TRUE)

# S3 method for stars check_landscape(landscape, verbose = TRUE)

# S3 method for list check_landscape(landscape, verbose = TRUE)

Arguments

landscape

Raster* Layer, Stack, Brick, Stars or a list of rasterLayers

verbose

Print warning messages.

Value

tibble

Details

This function extracts basic information about the input landscape. It includes a type of coordinate reference system (crs) - either "geographic", "projected", or NA, units of the coordinate reference system, a class of the input landscape's values and the number of classes found in the landscape.

Examples

Run this code
# NOT RUN {
check_landscape(augusta_nlcd)
check_landscape(podlasie_ccilc)
check_landscape(raster::stack(landscape, landscape))

# }

Run the code above in your browser using DataCamp Workspace