Description Usage Format Source Examples
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.
1 |
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.
The data were supplied by Sandoz Pharmaceuticals.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## (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).
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.