.CRE_ {rasterdiv} | R Documentation |
Cumulative Residual Entropy
Description
This function calculates the Cumulative Residual Entropy (CRE) for a given set of values.
Usage
.CRE_(B, base = exp(1))
Arguments
B |
A numeric vector or matrix representing the values for which CRE is to be calculated. |
base |
The base of the logarithm used in the calculation. The default is the natural logarithm (e). |
Value
A numeric value representing the CRE.
Examples
B <- c(1, 2, 3, 4)
.CRE_(B)
[Package rasterdiv version 0.3.4 Index]