R/aic.R

Defines functions aic

Documented in aic

#' Calculates the AICs
#'
#' \code{aic} calculates the AICs.
#' @param qp output from quickpsy
#' @export
aic <- function(qp) {
  qp$logliks %>% do(one_aic(., qp$groups, qp$par))
}

Try the quickpsy package in your browser

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

quickpsy documentation built on Oct. 2, 2019, 5:03 p.m.