powered by
This function calculates model averaged statistics using AIC and BIC.
modelAvg(fitList, ID, nonCon = TRUE)
a (non-empty) list of fitted distributions
a (non-empty) string of the ID column name.
an optional logical, where nonCon == TRUE excludes models failing to converged and nonCon == FALSE includes them.
Returns a list with aic and bic values, aic and bic averages, and the aic and bic weights.
Calculates model averaged statistics using BIC and AIC as weights.
# NOT RUN { #not run, internal function # }
Run the code above in your browser using DataLab