Learn R Programming

hoa (version 2.1.4.1)

dormicum: Dormicum Data

Description

The dormicum data frame has 37 rows and 3 columns.

37 children in a pediatric intensive care unit were treated with varying doses and for varying duration with the drug Dormicum. The response variable is 1 if withdrawal symptoms were exhibited and 0 otherwise.

Usage

data(dormicum)

Arguments

Format

This data frame contains the following columns:

symp

indicator of the presence of withdrawal symptoms;

dose

the drug dose in mg/kg;

days

the number of days treated.

References

Mehta, C. R., Patel, N. T. and Senchaudhuri, P. (2000) Efficient Monte Carlo methods for conditional logistic regression. J. Amer. Statist. Ass., 95, 99--108.

Examples

Run this code
# NOT RUN {
data(dormicum)
par(mfrow = c(1,2))
plot(dose ~ symp, data = dormicum, xlab = "presence of withdrawal symptoms",
     ylab = "treatment dose (mg/kg)")
plot(days ~ symp, data = dormicum, xlab = "presence of withdrawal symptoms",
     ylab = "treatment days")
# }

Run the code above in your browser using DataLab