.Prob {rasterdiv} | R Documentation |
This function computes the probability of each point in a given vector or matrix.
.Prob(C)
C |
A numeric vector or matrix. |
A vector of probabilities corresponding to each point in 'C'.
C <- c(1, 1, 2, 2, 3)
.Prob(C)