CreateFittedAgainstActualPlot: CreateFittedAgainstActualPlot

Description Usage Arguments

View source: R/CreateFittedAgainstActualPlot.R

Description

Plot Much credit to: https://drsimonj.svbtle.com/visualising-residuals

Usage

1
2
3
4
5
6
7
CreateFittedAgainstActualPlot(
  nms,
  dv = "density",
  data,
  dir = ".",
  save.plot = TRUE
)

Arguments

nms

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

dv

Character vector of length 1. Dependent variable. Defaults to "density"

data

data.frame object. Data as prepared in "make.project.R". Regressor values, predicted response, and residuals. 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 then the plot is saved to disk. Defaults to TRUE


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