check_landscape: Check input landscape

Description Usage Arguments Details Value Examples

View source: R/check_landscape.R

Description

Check input landscape

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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

1
2
3

r-spatialecology/landscapemetrics documentation built on April 30, 2019, 6:01 a.m.