Skip to contents

Applies an empirical cumulative distribution function (ECDF) to raster values, returning a raster where each cell reflects its percentile rank.

Usage

cdfProb(x)

Arguments

x

A vector

Value

A vector of empirical probabilities

Examples

if (FALSE) { # \dontrun{
test <- cdfProb(c(1,2,3,4,5))
} # }