This function computes the differences among values of a table, used in probability calculations.
Examples
P <- c(0.2, 0.3, 0.5)
.Deltas(P)
#> [1] 1
This function computes the differences among values of a table, used in probability calculations.
P <- c(0.2, 0.3, 0.5)
.Deltas(P)
#> [1] 1