plot.incremental {sharp}R Documentation

Plot of incremental performance

Description

Represents prediction performances upon sequential inclusion of the predictors in a logistic or Cox regression model as produced by Incremental. The median and quantiles of the performance metric are reported. See examples in Incremental.

Usage

## S3 method for class 'incremental'
plot(
  x,
  quantiles = c(0.05, 0.95),
  col = c("red", "grey"),
  col.axis = NULL,
  xgrid = FALSE,
  ygrid = FALSE,
  output_data = FALSE,
  ...
)

IncrementalPlot(
  x,
  quantiles = c(0.05, 0.95),
  col = c("red", "grey"),
  col.axis = NULL,
  xgrid = FALSE,
  ygrid = FALSE,
  output_data = FALSE,
  ...
)

PlotIncremental(
  x,
  quantiles = c(0.05, 0.95),
  col = c("red", "grey"),
  col.axis = NULL,
  xgrid = FALSE,
  ygrid = FALSE,
  output_data = FALSE,
  ...
)

Arguments

x

output of Incremental.

quantiles

quantiles defining the lower and upper bounds.

col

vector of colours by stable selection status.

col.axis

optional vector of label colours by stable selection status.

xgrid

logical indicating if a vertical grid should be drawn.

ygrid

logical indicating if a horizontal grid should be drawn.

output_data

logical indicating if the median and quantiles should be returned in a matrix.

...

additional plotting arguments (see par).

Value

A plot.

See Also

Incremental


[Package sharp version 1.4.6 Index]