The R Project SVN R

Rev

Rev 61153 | Rev 65189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61153 Rev 61168
Line 48... Line 48...
48
## Really should be analysed by conditional logistic regression
48
## Really should be analysed by conditional logistic regression
49
## which is in the survival package
49
## which is in the survival package
50
if(require(survival)){
50
if(require(survival)){
51
  model3 <- clogit(case ~ spontaneous+induced+strata(stratum), data = infert)
51
  model3 <- clogit(case ~ spontaneous+induced+strata(stratum), data = infert)
52
  print(summary(model3))
52
  print(summary(model3))
53
  detach()# survival (conflicts)
53
  detach()  # survival (conflicts)
54
}
54
}
55
}
55
}
56
\keyword{datasets}
56
\keyword{datasets}