addedvar: Added Variable Plots of Predictors

Description Usage Arguments Value Examples

View source: R/addedvar.R

Description

Produces an added variable plot given 1 response and 2 or more predictors.

Usage

1
addedvar(Y, X, main = "")

Arguments

Y

A vector representing a single response.

X

Two or more predictor columns in a matrix or data frame.

main

Subtitle for the plot.

Value

A plot is sent to the current graphics device (no value is returned).

Examples

1
2
addedvar(Y=mtcars$hp, X=mtcars[, c("mpg", "disp", "wt")],
 main="Predicting horsepower from MPG, displacement, and weight")

JVAdams/jvamisc documentation built on Aug. 11, 2021, 6:43 a.m.