OUwieAICSumm: Summarize the model fit across (many) OUwie results using...

Description Usage Arguments Details Value Examples

View source: R/OUwieAvg.R

Description

Returns AICc weights and counts for OUwie results that have been processed using OUwieParSumm.

Usage

1
OUwieAICSumm(ou.parameters, na.rm = TRUE)

Arguments

ou.parameters

An object of class ouwiepars as output from OUwieParSumm or CleanOUwieParameters

na.rm

Whether to ignore model results with NA AICc values

Details

na.rm = TRUE will remove any models where AICc == NA, but will use other models for AIC weight calculation; na.rm = FALSE will remove any replicates (rows of the output) with any models where AICc == NA.

Value

A list with two elements:

Weights

A data.frame of the AICc weights for each model across the replicates

Counts

A named vector giving the number of replicates in which each model has the highest AICc weight

Examples

1
2
ou.parameters <- OUwieParSumm(ou.results, regime.mat)
OUwieAICSumm(ou.parameters)

willgearty/pcmtools documentation built on Nov. 5, 2019, 12:20 p.m.