pkk | R Documentation |
Calculates the probability that all categories in a multinomial have a non-zero count.
pkk(prob, size)
prob |
numeric non-negative vector of length K, specifying the probability for the K classes; is internally normalized to sum 1. Infinite and missing values are not allowed. |
size |
integer, say N, specifying the total number of objects that are put into K boxes in the typical multinomial experiment. |
probability that there is at least one object in each of the K boxes
Jarrod Hadfield j.hadfield@ed.ac.uk
p<-runif(4)
pkk(p, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.