~ubuntu-branches/ubuntu/trusty/r-cran-rms/trusty-proposed

« back to all changes in this revision

Viewing changes to man/latex.cph.Rd

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2014-01-22 14:16:13 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20140122141613-frc51dglkjfisik0
Tags: 4.1-1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
\examples{
86
86
\dontrun{
87
87
units(ftime) <- "Day"
88
 
f <- cph(Srv(ftime, death) ~ rcs(age)+sex, surv=TRUE, time.inc=60)
 
88
f <- cph(Surv(ftime, death) ~ rcs(age)+sex, surv=TRUE, time.inc=60)
89
89
w <- latex(f)  #Interprets fitted model and makes table of S0(t)
90
90
               #for t=0,60,120,180,\dots   Creates file f.tex
91
91
w              #displays image, if viewer installed