Learn R Programming

nparLD (version 2.3.1)

respiration: Respiratory Disorder Study

Description

Ordinal health-status measurements from patients with a respiratory disorder. The data include study center, treatment group, and repeated visits.

Usage

respiration

Arguments

Format

A data frame with variables:

resp

Ordinal health-status response.

time

Visit number.

center

Study center.

treatment

Treatment group.

patient

Patient identifier.

Examples

Run this code

if (FALSE) {
data(respiration)

fit <- nparLD(resp ~ center * treatment * time,
              data = respiration,
              subject = "patient",
              hypothesis = "H0F")
fit
}

if (FALSE) {
fit <- nparLD(resp ~ center * treatment * time,
              data = respiration,
              subject = "patient",
              hypothesis = "H0p",
              contrast = list("treatment", "Tukey"))
fit
plot(fit)
plot(fit$MCTP)
}

Run the code above in your browser using DataLab