Learn R Programming

rms (version 6.8-2)

plot.rexVar: plot.rexVar

Description

Plot rexVar Result

Usage

# S3 method for rexVar
plot(
  x,
  xlab = "Relative Explained Variation",
  xlim = NULL,
  pch = 16,
  sort = c("descending", "ascending", "none"),
  margin = FALSE,
  height = NULL,
  width = NULL,
  ...
)

Value

plotly graphics object if using plotly

Arguments

x

a vector or matrix created by rexVar

xlab

x-axis label

xlim

x-axis limits; defaults to range of all values (limits and point estimates)

pch

plotting symbol for dot

sort

defaults to sorted predictors in descending order of relative explained variable. Can set to ascending or none.

margin

set to TRUE to show the REV values in the right margin if using base graphics

height

optional height in pixels for plotly graph

width

likewise optional width

...

arguments passed to dotchart2 or dotchartpl

Author

Frank Harrell

Details

Makes a dot chart displaying the results of rexVar. Base graphics are used unless options(grType='plotly') is in effect, in which case a plotly graphic is produced with hovertext