ggplot2 object with results of a regression

lm_plot(
  x,
  orig,
  title,
  p_max = 0.01,
  text = NULL,
  offsets = NULL,
  flip = NULL,
  width = 15
)

Arguments

x

must be the output from a multiple regression on MICE output

orig

must be the original, unimputed datasetas

p_max

is the maximum p-value that will be included in the viz

text

is a 2-column data frame containing variable names and the text with which they should be replaced

offsets

is a 3-column data frame (var,x,y) detailing how labels should be offset for readability.

flip

is a list of variables whose directionality should be

width

is the width (in characters) to be used for wrapping of long labels

Examples

if (FALSE) { }