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

« back to all changes in this revision

Viewing changes to R/summary.rms.s

  • 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:
7
7
#       c(lo,hi): use range for effect (lo,hi), adjust to default value
8
8
#       c(lo,w,hi): use range (lo,hi), adjust to w.  Any of 3 can be NA.
9
9
# For categories and strata values can be character
10
 
# values that are original values before translating to is.category -
 
10
# values that are original values before translating to factors -
11
11
# only enough letters are needed to uniquely identify the category 
12
12
# This applies to category and strata vars.  Default adjusted to is
13
13
# from second element of limits vector.
296
296
 
297
297
latex.summary.rms <-
298
298
  function(object, 
299
 
           title=if(under.unix)
300
 
           paste('summary', attr(object, 'obj.name'), sep='.') else
301
 
           paste("sum", substring(first.word(attr(object, "obj.name")),
302
 
                                 1,5), sep=""),
 
299
           title=paste('summary', attr(object, 'obj.name'), sep='.'),
303
300
           table.env=TRUE, ...)
304
301
305
302