CreateAddedVariablePlots: AddedVariablePlots

Description Usage Arguments

View source: R/CreateAddedVariablePlots.R

Description

Plot added variable plots. Much credit to: https://stackoverflow.com/questions/59150905/is-there-a-ggplot2-analogue-to-the-avplots-function-in-r

Usage

1

Arguments

nms

Character vector. Regressors to be plotted against residuals. Each regressor is individually plotted against the externally studentized residuals. No default.

fit

lm object. LM model that has been fit to the data. No default.

dir

Character vector of lenght 1. Directory in which to store the plot. Ignored if save.plot is FALSE. Defaults to "./"

save.plot

Logical vector of length 1. If TRUE the added variable plots are saved to disk. Defaults to TRUE.


itslwg/regone documentation built on Oct. 14, 2021, 12:52 a.m.