R/check_model.R

Defines functions check_model

check_model <-
function(model.fit,dependent.var){
  
  
  residuals <- resid(model.fit)
  plot(fitted(model.fit), residuals)
  abline(0,0)
  
  plot(fitted(model.fit), dependent.var)
  
  qqnorm(residuals)
  qqline(residuals)
}
kuppal2/xmsPANDA documentation built on May 15, 2021, 5:48 a.m.