Calculate_MMI {AquaticLifeHistory} | R Documentation |
Calculate model averaged length-at-age estimates and parameters
Description
'Calculate_MMI' takes the outputs from an 'Estimate_Growth' function with plots = FALSE and returns the calculated model averaged parameters, SE and estimates based on AIC scores. It should be used if no candidate model has an AIC weight higher than 0.9. Use of this function should cite Smart et al (2016)
Usage
Calculate_MMI(data)
Arguments
data |
An output from the Estimate_Growth function with plots = FALSE |
Value
A list with model averaged parameters and a dataframe of model averaged length-at-age estimates
References
Smart et al. (2016) Multi model approaches in shark and ray growth studies: strengths, weaknesses and the future. Fish and Fisheries. 17: 955-971https://onlinelibrary.wiley.com/doi/abs/10.1111/faf.12154
Examples
# load example data set
data("growth_data")
# Run function with three default model candidates and return results
# without plots. Use 100 bootstraps for testing and then increase to at
# least 1000 for actual model runs.
models <- Estimate_Growth(growth_data, plots = FALSE, n.bootstraps = 100)
# Calculate the model average of the resulting growth estimates
Calculate_MMI(models)
[Package AquaticLifeHistory version 1.0.5 Index]