Learn R Programming

rasterdiv (version 0.3.5)

Rao: Rao's index

Description

An alias for `paRao` with `alpha` fixed at 2.

Usage

Rao(x, ...)

Value

A return value description.

Arguments

x

Input data may be a matrix, a Spatial Grid Data Frame, a SpatRaster, or a list of these objects.

...

Other parameters passed to `paRao`.

Examples

Run this code
if (FALSE) {
data(volcano)
r <- terra::rast(volcano)
res <- Rao(x = r, window = 3)
terra::plot(res[[1]][[1]])
}

Run the code above in your browser using DataLab