| verif_lm | R Documentation | 
Function for creating residual plots in ggplot style and all necessary tests, so that the assumptions of linear regression models can be verified.
verif_lm(
  mdl,
  dat = NULL,
  results = c("markdown", "return", "print"),
  mkd_path = NULL
)
mdl | 
 A linear model of class lm.  | 
dat | 
 The dataset on which the model was applied  | 
results | 
 "markdown" creates a markdown summary document. "return" returns all analyses in a list. "print" prints the output on the console and shows the plot.  | 
mkd_path | 
 Can be used to set the path, where the created markdown document should be stored. If NULL, the current path (getwd()) will be used to save the markdown document.  | 
Returns, if desired, a list of length 6 with an summary of tests, all calculated tests and plots.
Dennis Freuer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.