pprt | R Documentation |
Calculating the Probability of an Event
pprt(x, n, prt = TRUE)
x |
Event in data frame. |
n |
Size of the sample space. |
prt |
Print output? Default: TRUE |
The probability of an event.
S = rolldie2(2) B = subset(S, (X1+X2) >=8) pprt(B, nrow(S))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.