.CumRes {rasterdiv}R Documentation

Calculate Cumulative Residual Probability

Description

This function computes the cumulative residual probability for a given set of probabilities.

Usage

.CumRes(a)

Arguments

a

A numeric vector or matrix representing probabilities.

Value

A numeric vector or matrix of cumulative residual probabilities.

Examples

a <- data.frame(V1= c(0.2, 0.3, 0.5), V2 =c(0.2, 0.3, 0.5))
.CumRes(a)

[Package rasterdiv version 0.3.4 Index]