.Prob {rasterdiv}R Documentation

Calculate Point Probability

Description

This function computes the probability of each point in a given vector or matrix.

Usage

.Prob(C)

Arguments

C

A numeric vector or matrix.

Value

A vector of probabilities corresponding to each point in 'C'.

Examples

C <- c(1, 1, 2, 2, 3)
.Prob(C)

[Package rasterdiv version 0.3.4 Index]