fungal {cond} | R Documentation |
Fungal Infections Treatment Data
Description
The fungal
data frame has 10 rows and 4 columns.
Clinical trial on the success of a particular treatment for fungal infections. The study was carried out in five different research units. Interest focuses on the treatment effect.
Usage
data(fungal)
Format
This data frame contains the following columns:
success
-
the number of patients that benefited from the treatment;
failure
-
the number of patients with no benefit from the treatment;
group
-
an indicator variable for treatment (
T
=treatment,P
=placebo); center
-
a factor variable indicating the research unit where the study was carried out.
Source
The data were supplied by Sandoz Pharmaceuticals.
Examples
## (full data analysis)
data(fungal)
fungal.glm <- glm(cbind(success, failure) ~ center + group - 1,
family = binomial, data = fungal,
control = glm.control(maxit = 50, epsilon = 1e-005))
fungal.cond <- cond(fungal.glm, groupT)
plot(fungal.cond, which = 2)
## (partial data analysis)
fungal.glm <- glm(cbind(success, failure) ~ center + group - 1,
family = binomial, data = fungal, subset = -c(1,2,5,6),
control = glm.control(maxit = 50, epsilon = 1e-005))
fungal.cond <- cond(fungal.glm, groupT)
plot(fungal.cond, which = 2)
## (Tables 1 and 3 are omitted).
[Package cond version 1.2-3.1 Index]