R/aic_model.R

Defines functions aic_model

#' aic_model
#' to be documented
#' @usage aic_model(model)
#' @param model  to be documented
#' @noRd
#' @return to be documented
aic_model <-
function(model){
  n=length(model$Y)
log(model$SSR) + 2*(ifelse(is.null(model$tS),model$edf,model$tS))/n
}

Try the mgwrsar package in your browser

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

mgwrsar documentation built on April 17, 2023, 9:09 a.m.