Results of a clinical trial de1998twelvelme4 to compare two oral antifungal treatments: itraconazole and terbinafine to treat toenail onychomycosis causes by dermatophytes.
data("toenail")A data frame with 1908 observations on the following 8 variables.
patientIDa unique identifier for each patient in the trial.
outcomea factor indicating the severity of the patient's
onycholysis (separation of the nail plate from the nail bed), with levels
none or mild and moderate or severe.
treatmenta factor indicating the treatment used with levels
itraconazole and terbinafine.
timeexact timing of visit in months.
visitAn integer represent the sequential visit number for each subject.
The data in lme4 was copied from the toenail data found in the
HSAUR3 package. From the dataset documentation from the
HSAUR3 package: There is a clinical trial
de1998twelvelme4 to compare two competing oral antifungal
treatments for toenail infection (dermatophyte onychomycosis).
A total of 378 patients were randomly allocated
into two treatment groups, one group receiving 250mg per day of terbinafine
and the other group 200mg per day of itraconazole. Patients were evaluated at
seven visits, intended to be at weeks 0, 4, 8, 12, 24, 36, and 48 for the
degree of separation of the nail plate from the nail bed (onycholysis)
dichotomized into moderate or severe and none or mild. But
patients did not always arrive exactly at the scheduled time and the exact
time in months that they did attend was recorded. The data is not balanced
since not all patients attended for all seven planned visits.
de1998twelvelme4
toemod <- glmer(outcome ~ time*treatment + (1 | patientID),
data = toenail, family = binomial(link = "logit"))
Run the code above in your browser using DataLab