briencj / asremlPlus

asremlPlus is an R package that augments the use of 'ASReml-R' and 'ASReml4-R' in fitting mixed models
Other
17 stars 3 forks source link

infoCriteria with multiple models #2

Closed kwstat closed 1 year ago

kwstat commented 5 years ago

It would be nice if this function would accept multiple objects, similar to the AIC function. For example:

R> AIC(mm1,mm2)
    df      AIC
mm1  3 46708.52
mm2  4 46654.05
briencj commented 5 years ago

I can see that such functionality would be convenient for users. I have added to my list of future enhancements and will work on it when I get a chance. Cheers, Chris.

briencj commented 4 years ago

I have now expanded the facilities in asremlPlus for information criteria.

Multiple objects can be handled via something like infoCriteria(list(mm1 = mm1, mm2 = mm2)).

However, there is more as is described in the vignette Wheat.infoCriteria available from here or in R via vignette("Wheat.inforCriteria", package = "asremlPlus").

Cheers, Chris