R/extractIC.R

Defines functions extractIC

Documented in extractIC

extractIC <-
function(object, aic=TRUE){
   if(aic){
      ic <- object$model$aic
   }else{
      ic <- object$model$bic
   }
   ic
}

Try the mpr package in your browser

Any scripts or data that you put into this service are public.

mpr documentation built on Jan. 8, 2022, 9:06 a.m.