| ears | R Documentation |
Survival times of ventilating tubes of left and right ears in 78 children with otitis media.
data(ears)
A data frame with 78 observations on the following 5 variables.
Survival time in month of tube in left ear.
Censoring indicator for left ear: 0 censored and
1 event.
Survival time in month of tube in right ear.
Censoring indicator for right ear: 0 censored and
1 event.
a factor with levels control and treat.
Sin-Ho Jung and Jong-Hyeon Jeong (2003). Rank tests for clustered survival data. Lifetime Data Analysis, 9, 21-33.
V.M. Howie and R.H. Schwarz (1983). Acute otitis media: One year in general pediatric practice. American Journal of Diseases in Children, 137, 155-158.
D.W. Teele, J.O. Klein, B. Rosner et al. (1989). Epidemiology of otitis media during the first seven years of life in children in greater Boston. Journal of Infectious Diseases, 160, 89-94.
data(ears)
if (require(survival, quietly=TRUE)) {
ls <- cscores(Surv(ears$left, ears$lcens), int=TRUE)
perm.test(ls ~ group, data=ears)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.