cprt | R Documentation |
Calculating the Conditional Probability
cprt(a, b)
a |
Event to be conditioned. |
b |
Event to be conditioning. |
None.
S = rolldie2(2) A = subset(S, (X1+X2) >=4) B = subset(S, (X1+X2) >=8) cprt(B, A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.