AIC_pss <- function(model){
# maximized log-likelihood value of the model
LLp <- stats::logLik(model)
# number of freely estimated coefficients
sp <- length(model$coefficients)
LLp - sp
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.