Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

check_landscape

Check input landscape


Description

Check input landscape

Usage

check_landscape(landscape, verbose)

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

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

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

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

## S3 method for class 'list'
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

check_landscape(augusta_nlcd)
check_landscape(podlasie_ccilc)
check_landscape(raster::stack(landscape, landscape))

landscapemetrics

Landscape Metrics for Categorical Map Patterns

v1.5.2
GPL-3
Authors
Maximillian H.K. Hesselbarth [aut, cre] (<https://orcid.org/0000-0003-1125-9918>), Marco Sciaini [aut] (<https://orcid.org/0000-0002-3042-5435>), Jakub Nowosad [aut] (<https://orcid.org/0000-0002-1057-3721>), Sebastian Hanss [aut] (<https://orcid.org/0000-0002-3990-4897>), Laura J. Graham [ctb] (Input on package structure), Jeffrey Hollister [ctb] (Input on package structure), Kimberly A. With [ctb] (Input on package structure), Florian Privé [ctb] (Original author of underlying C++ code for get_nearestneighbour() function), Project Nayuki [ctb] (Original author of underlying C++ code for get_circumscribingcircle and lsm_p_circle), Matt Strimas-Mackey [ctb] (Bugfix in sample_metrics())
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.