powered by
This function computes the probability of each point in a given vector or matrix.
.Prob(C)
A vector of probabilities corresponding to each point in `C`.
A numeric vector or matrix.
C <- c(1, 1, 2, 2, 3) .Prob(C)
Run the code above in your browser using DataLab