R/select_best.small.em.R

#' #' Return the optimal model based on BIC scores
#' #' @param small.em  A 'small.em' object
#' #' @export
#' select_best <- function(small.em){
#'   s <- summary(small.em)
#'   ordered <- s[order(s$bic), ]
#'   idx <- ordered$index[[1]]
#'   small.em[[idx]]$params
#' }

Try the emax.glm package in your browser

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

emax.glm documentation built on July 4, 2019, 5:04 p.m.