rank_rasters-methods: Get Zonation result rank rasters of a project.

Description Usage Arguments Details Value Author(s) See Also

Description

Each Zproject object has a set of variants and their results associated with it. This method will get the selected available rank rasters (1 per variant) and create a RasterStack object.

Usage

1
2
3
4
rank_rasters(x, variants = NULL)

## S4 method for signature 'Zproject'
rank_rasters(x, variants = NULL)

Arguments

x

Zproject object.

variants

a numeric (IDs) or character (name) vector defining which variants are included in the returned stack (default: NULL means all).

Details

Argument variants can be used to the define which variants are included, the default is to return all. Method will give a warning if a variant doesn't have a rank raster associated with it. If none of the variants have a rank raster, then a NA is returned.

Value

RasterStack object. If no rank rasters are available at all, return NA.

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com

See Also

rank_raster get_variant


zonator documentation built on July 8, 2020, 6:18 p.m.