get_rank: Extract the rank raster

Description Usage Arguments Methods (by class) Examples

View source: R/get_rank.r

Description

Extract the rank raster from a zonation object

Usage

1
2
3
4
5
6
7
get_rank(x)

## Default S3 method:
get_rank(x)

## S3 method for class 'zonation'
get_rank(x)

Arguments

x

a zonation object.

Methods (by class)

Examples

1
2
3
4
5
6
library(raster)
r1 <- raster(matrix(runif(200^2, 0, 1), 200))
r2 <- raster(matrix(runif(200^2, 0, 1), 200))
plan <- zonation(stack(r1, r2))
plan_rank <- get_rank(plan)
plan_rank

wkmor1/rzonation documentation built on Jan. 18, 2020, 4:47 a.m.