mult_dist | R Documentation |
Multinomial Distribution
mult_dist(x, pd, chi2.sort = FALSE)
x |
integer vector |
pd |
numeric vector |
chi2.sort |
boolean |
data frame of probability distribution
observed <- c(5, 3, 0, 0)
probabilities <- c(0.25, 0.25, 0.25, 0.25)
mult_dist(observed, probabilities)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.