Learn R Programming

vcd (version 0.9-0)

Arthritis: Arthritis Treatment Data

Description

Data from Koch & Edwards (1988) from a double-blind clinical trial investigating a new treatment for rheumatoid arthritis.

Usage

data(Arthritis)

Arguments

source

Michael Friendly (2000), Visualizing Categorical Data: http://hotspur.psych.yorku.ca/ftp/sas/vcd/catdata/arthrit.sas

References

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.

Examples

Run this code
data(Arthritis)

## construct a table of interest using xtabs() or structable()
## via formula
structable(Sex ~ Treatment + Improved, data = Arthritis)

## via default interface
attach(Arthritis)
structable(Treatment, Sex, Improved)
detach(Arthritis)

## via xtabs and ftable
ftable(xtabs(~Treatment + Improved + Sex, data = Arthritis))

Run the code above in your browser using DataLab