Description Usage Arguments Details Author(s) References See Also Examples
View source: R/phrapl-utilities.R
This function builds a table with details for each model analyzed using a grid or heuristic search. It give AICs, model weights, details of each model, and parameter estimates and indexes. The function can either import one or more R object files (with the extention .rda) located in the specified rdaFilePath, in which phrapl output is stored, or can be passed a vector of file names to be imported.This is the major output of phrapl.
1 2 |
rdaFilesPath |
Path to where R object files (which must have the extention .rda) are located which contain results from GridSearch (default is the current dir). |
rdaFiles |
As an alternative to reading in all .rda files in the specified directory, a vector of file names (located in the directory specified above) can be given. |
outFile |
If specified, gives the file name to which an output table will be printed. |
addAICweights |
If TRUE, will add AICweights to the table. |
rmNaParameters |
If true, this removes all parameter columns from the table that only include NAs. |
addTime.elapsed |
If elapsed time is being tracked, this adds a column for this. |
If subsets of models from a migrationArray are run in separate analyses, one should save the results as R object files (.rda) after each analysis (e.g., save(list=ls(), FILENAME)). Once all models are run, ConcatenateResults can then cull the results from all the files into a master result table.
Brian O'Meara, Bryan Carstens, Nathan Jackson, Ariadna Morales-Garcia
Maintainer: Brian O'Meara <bomeara@utk.edu>
O'Meara, B.C., N. Jackson, A. Morales-Garcia, and B. Carstens (2014) Phrapl in prep.
GridSearch, CalculateModelAverages.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.