get_infparams_optimx_nosim: Get the inferred parameters from an ML optimization...

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/BioGeoBEARS_simulate_v1.R

Description

Like get_infparams_optimx, this function extracts the ML parameter values, and associated statistics and codes, from the results_object returned by bears_2param_standard_fast and similar functions.

Usage

1
  get_infparams_optimx_nosim(results_object, inffn)

Arguments

results_object

The results returned by bears_2param_standard_fast or a similar function.

inffn

The filename holding the results_object, which specifies which model was run.

Details

The function has subroutines for recognizing a variety of currently-implemented models, assuming they used optimx internally to do the ML search. New models would require addition of new subroutines.

get_infparams_optimx and get_infparams_optimx_nosim differ only in the format of the filenames.

Value

infparams The vector of inferred parameters.

Note

Go BEARS!

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster

Matzke_2012_IBS

See Also

get_infparams_optimx, bears_2param_standard_fast, get_inf_LgL_etc_optimx

Examples

1
testval=1

Example output

Loading required package: rexpokit
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase

Attaching package: 'phylobase'

The following object is masked from 'package:ape':

    edges

BioGeoBEARS documentation built on May 29, 2017, 8:36 p.m.