Description Usage Format Source Examples
These made-up data illustrate the discrete form (contingency table form) of Simpson's paradox.
1 |
A three-dimensional array of frequencies with:
rows indicating "outcome" (either "death" or "cured"),
columns indicating "male" (either "Yes" or "No"), and
layers indicating "clinic" (either "A" or "B").
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
1 2 3 | data(Clin)
Clin[1,,]
prop.table(Clin[1,,], 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.