Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_basics_v1.R
After running an ML (maximum likelihood) search with
optim
, optim
returns a list with a variety of objects. It is often
handy to have the parameter values, log-likelihood, etc.,
extracted to a table for comparison with other
optimization runs. process_optim
does this.
1 | process_optim(optim_results, max_num_params = NULL)
|
optim_results |
A results object from
|
max_num_params |
Specify the number of parameters,
if known. If |
tmprow3
A row holding the
optim
results, which can then be
added to a table with rbind
.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster
Matzke_2012_IBS
1 2 | testval=1
# Any optim() for a biogeography scenario would take too long to run for R CMD check.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.