Arthritis | R Documentation |
Data from Koch & Edwards (1988) from a double-blind clinical trial investigating a new treatment for rheumatoid arthritis.
data("Arthritis")
A data frame with 84 observations and 5 variables.
patient ID.
factor indicating treatment (Placebo, Treated).
factor indicating sex (Female, Male).
age of patient.
ordered factor indicating treatment outcome (None, Some, Marked).
Michael Friendly (2000), Visualizing Categorical Data: http://euclid.psych.yorku.ca/ftp/sas/vcd/catdata/arthrit.sas
G. Koch & S. Edwards (1988), Clinical efficiency trials with categorical data. In K. E. Peace (ed.), Biopharmaceutical Statistics for Drug Development, 403–451. Marcel Dekker, New York.
M. Friendly (2000), Visualizing Categorical Data. SAS Institute, Cary, NC.
data("Arthritis")
art <- xtabs(~ Treatment + Improved, data = Arthritis, subset = Sex == "Female")
art
mosaic(art, gp = shading_Friendly)
mosaic(art, gp = shading_max)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.