OUwieCleanPar: Clean extracted parameters from OUwie results

Description Usage Arguments Details Value Examples

View source: R/OUwieAvg.R

Description

Cleans the parameters that are extracted by OUwieParamSum based on user-specified upper and lower bounds.

Usage

1
OUwieCleanPar(ou.parameters, lower = list(), upper = list())

Arguments

ou.parameters

An object of class ouwiepars as output from OUwieParSumm

lower

A list of lower bounds for model parameters

upper

A list of upper bounds for model parameters

Details

Parameter estimates outside of these bounds will result in the AICc being changed to NA, which will affect downstream model averaging (see OUwieModelAvg).

Value

An ouwiepars object

Examples

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

#Sets the AICc for the BM1 model to NA, so it wouldn't be included in downstream model averaging
OUwieCleanPar(ou.parameters, upper = list("AICc" = 45))

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