check_landscape: Check input landscape

View source: R/check_landscape.R

check_landscapeR Documentation

Check input landscape

Description

Check input landscape

Usage

check_landscape(landscape, verbose = TRUE)

Arguments

landscape

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

verbose

Print warning messages.

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.

Value

tibble

Examples

augusta_nlcd <- terra::rast(landscapemetrics::augusta_nlcd)
check_landscape(augusta_nlcd)
podlasie_ccilc <- terra::rast(landscapemetrics::podlasie_ccilc)
check_landscape(podlasie_ccilc)
landscape <- terra::rast(landscapemetrics::landscape)
check_landscape(c(landscape, landscape))


landscapemetrics documentation built on Sept. 12, 2024, 7:42 a.m.