plot.rexVar {rms}R Documentation

plot.rexVar

Description

Plot rexVar Result

Usage

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

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

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

Value

plotly graphics object if using plotly

Author(s)

Frank Harrell


[Package rms version 6.8-1 Index]