View source: R/binary_multiESS.R
joint_p | R Documentation |
Joint probability between two indicators
joint_p(a, b, log = FALSE)
a |
a vector with an indicator variable. |
b |
a vector with an indicator variable. |
log |
logical. If |
joint probability
X <- rbinom(1000, size = 1, p = .25)
Y <- rbinom(1000, size = 1, p = .75)
joint_p(X, Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.