dot-Prob: Calculate Point Probability

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

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