dot-CRE_: Cumulative Residual Entropy

.CRE_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)

rasterdiv documentation built on Oct. 14, 2024, 5:10 p.m.