Print cph Results
print.cph.RdFormatted printing of an object of class cph. Prints strata
frequencies, parameter estimates, standard errors, z-statistics, numbers
of missing values, etc.
Format of output is controlled by the user previously running
options(prType="lang") where lang is "plain" (the default),
"latex", or "html". This does not require results='asis'
in knitr chunk headers.
Arguments
- x
fit object
- digits
number of digits to right of decimal place to print
- r2
vector of integers specifying which R^2 measures to print, with 0 for Nagelkerke R^2 and 1:4 corresponding to the 4 measures computed by
R2Measures. Default is to print Nagelkerke (labeled R2) and second and fourthR2Measureswhich are the measures adjusted for the number of predictors, first for the raw sample size then for the effective sample size, which here is the number of non-censored observations.- conf.int
set to e.g. .95 to print 0.95 confidence intervals on simple hazard ratios (which are usually meaningless as one-unit changes are seldom relevant and most models contain multiple terms per predictor)
- table
set to
FALSEto suppress event frequency statistics- coefs
specify
coefs=FALSEto suppress printing the table of model coefficients, standard errors, etc. Specifycoefs=nto print only the firstnregression coefficients in the model.- pg
set to
TRUEto print g-indexes- title
a character string title to be passed to
prModFit- ...
arguments passed to
prModFit