- object
a rms
fit object. Either options(datadist)
should have
been set before the fit, or datadist()
and
options(datadist)
run before summary
. For latex
is
the result of summary
.
- ...
For summary
, omit list of variables to estimate effects for all
predictors. Use a list
of variables of the form age, sex
to estimate using default
ranges. Specify age=50
for example to adjust age to 50 when testing
other factors (this will only matter for factors that interact with age).
Specify e.g. age=c(40,60)
to estimate the effect of increasing age from
40 to 60. Specify age=c(40,50,60)
to let age range from 40 to 60 and
be adjusted to 50 when testing other interacting factors. For category
factors, a single value specifies the reference cell and the adjustment
value. For example, if treat
has levels "a", "b"
and
"c"
and treat="b"
is given to summary
,
treatment a
will be compared to b
and c
will be
compared to b
. Treatment b
will be used when
estimating the effect of other factors. Category variables can have
category labels listed (in quotes), or an unquoted number that is a
legal level, if all levels are numeric. You need only use the
first few letters of each variable name - enough for unique
identification. For variables not defined with datadist
, you
must specify 3 values, none of which are NA
.
Also represents other arguments to pass to latex
, is ignored for
print
and plot
.
- ycut
must be specified if the fit is a partial proportional odds
model. Specifies the single value of the response variable used to
estimate ycut-specific regression effects, e.g., odds ratios
- est.all
Set to FALSE
to only estimate effects of variables listed. Default is TRUE
.
- antilog
Set to FALSE
to suppress printing of anti-logged effects. Default
is TRUE
if the model was fitted by lrm
or cph
.
Antilogged effects will be odds ratios for logistic models and hazard ratios
for proportional hazards models.
- conf.int
Defaults to .95
for 95%
confidence intervals of effects.
- abbrev
Set to TRUE
to use the abbreviate
function to shorten
factor levels for categorical variables in the model.
- vnames
Set to "labels"
to use variable labels to label effects.
Default is "names"
to use variable names.
- conf.type
The default type of confidence interval computed for a given
individual (1 d.f.) contrast is a pointwise confidence interval. Set
conf.type="simultaneous"
to use the multcomp
package's
glht
and confint
functions to compute confidence
intervals with simultaneous (family-wise) coverage, thus adjusting for
multiple comparisons. Contrasts are simultaneous only over groups of
intervals computed together.
- usebootcoef
If fit
was the result of bootcov
but you want to use the
bootstrap covariance matrix instead of the nonparametric percentile,
basic, or BCa methods for confidence intervals (which uses all the bootstrap
coefficients), specify usebootcoef=FALSE
.
- boot.type
set to 'bca'
to compute BCa confidence
limits or to 'basic'
to use the basic bootstrap. The default
is to compute percentile intervals.
- posterior.summary
set to 'mode'
or 'median'
to use the posterior
mean/median instead of the mean for point estimates of contrasts
- verbose
set to TRUE
when conf.type='simultaneous'
to get output describing scope of simultaneous adjustments
- x
result of summary
- title
title
to pass to latex
. Default is name of fit object passed to
summary
prefixed with "summary"
.
- table.env
see latex
- digits,dec
for html.summary.rms
; digits
is the
number of significant digits for printing for effects, standard
errors, and confidence limits. It is ignored if dec
is
given. The statistics are rounded to dec
digits to the right of
the decimal point of dec
is given. digits
is also the
number of significant digits to format numeric hover text and labels
for plotly
.
- declim
number of digits to the right of the decimal point to
which to round confidence limits for labeling axes
- at
vector of coordinates at which to put tick mark labels on the main axis. If
log=TRUE
, at
should be in anti-log units.
- log
Set to TRUE
to plot on \(X\beta\) scale but labeled with
anti-logs.
- q
scalar or vector of confidence coefficients to depict
- xlim
X-axis limits for plot
in units of the linear predictors (log scale
if log=TRUE
). If at
is specified and xlim
is
omitted, xlim
is derived from the range of at
.
- nbar
Sets up plot to leave room for nbar
horizontal bars. Default is the
number of non-interaction factors in the model. Set nbar
to a larger
value to keep too much surrounding space from appearing around horizontal
bars. If nbar
is smaller than the number of bars, the plot is divided
into multiple pages with up to nbar
bars on each page.
- cex
cex
parameter for factor labels.
- nint
Number of tick mark numbers for pretty
.
- cex.main
cex
parameter for main title. Set to 0
to
suppress the title.
- clip
confidence limits outside the interval c(clip[1], clip[2])
will be
ignored, and clip
also be respected when computing xlim
when xlim
is not specified. clip
should be in the units of
fun(x)
. If log=TRUE
, clip
should be in \(X\beta\) units.
- main
main title. Default is inferred from the model and value of log
,
e.g., "log Odds Ratio"
.
- col
vector of colors, one per value of q
- col.points
color for points estimates
- pch
symbol for point estimates. Default is solid triangle.
- lwd
line width for confidence intervals, corresponding to
q