.Deltas | R Documentation |
This function computes the differences among values of a table, used in probability calculations.
.Deltas(P, first = 0)
P |
A numeric vector or matrix representing probabilities. |
first |
The starting value for difference calculation. |
A vector or matrix of differences.
P <- c(0.2, 0.3, 0.5)
.Deltas(P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.