combineTadaAICtables: Combine two or more tadaAICtables into a single tadaAICtable

Description Usage Arguments Details Value See Also

View source: R/tadaAICtable.R

Description

Takes two or more tadaAICtable objects, containing different models including the same number of networks and the same ILVs, and combine them into a single table.

Usage

1
2
combineTadaAICtables(tadaAICtableList, aicUse = "aicc",
  netComboModifier = rep("", length(tadaAICtableList)))

Arguments

tadaAICtableList

a lift of tadaAICtable objects to be combined into a single table.

aicUse

string specifying whether to use "aicc" or "aic".

netComboModifier

optional character vector with length matching the length of tadaAICtableList to modify the netcombo strings recorded from each individual tadaAICtable object (see below).

Details

This function can be used for a variety of practical reasons. If the tadaAICtable is interrupted and a partial tadaAICtable recovered, the remaining models can be run as a separate set and combined with the first partial set. Alternatively, the user might want to add more models to a set without re-running the entire set, or run different parts of a model set on different computers to speed up computation time. It is also possible to run model sets with different networks and then combine them using combineTadaAICtables, so long as the number of networks matches (though it is possible to have dummy networks that are constrained to have s=0 in all models, in order to match network number). In such cases a modifier can be added to the netcombo codes from each tadaAICtable so they can be distinguished by functions such as networksSupport. e.g. if we have two tadaAICtable objects each with the netcombos "1:0","0:1","1:2". If we use netComboModifier= c("NetworksA:","NetworksB:") we get netcombos "NetworksA:1:0","NetworksA:0:1","NetworksA:1:2", "NetworksB:1:0","NetworksB:0:1","NetworksB:1:2" in the resulting tadaAICtable object.

Value

An object of class tadaAICtable.

See Also

tadaAICtable


whoppitt/NBDA documentation built on April 25, 2021, 7:55 a.m.