Learn R Programming

CMHNPA (version 1.1.1)

crossover: Cross-over data

Description

A success or fail response variable with three treatments repeated over 11 patients.

Usage

data(crossover)

Arguments

Format

A data frame with 33 rows and three columns.

treatment

the type of treatment applied. The three treatments are placebo, aspirin and a new drug

success

whether the treatment was a success or not

patient

the patient the treatment was applied to

Details

In StatXact (2003), three treatment, three period cross-over clinical data for 11 patients are given. This is a CMH design with t = 3, c = 2, and b = 11.

References

StatXact (2003). User Manual Volume 2. CYTEL Software.

Examples

Run this code
attach(crossover)
CMH(treatment = treatment,response = success,strata = patient)

Run the code above in your browser using DataLab