get_rownum_ref_model: Get rownum of named model

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

View source: R/BioGeoBEARS_generics_v1.R

Description

Find the row number of the best model according to AIC, the worst model according to AIC, or just takes the row number if that is what was input.

Usage

1
  get_rownum_ref_model(AICvals, ref_model = "best")

Arguments

AICvals

A vector of AIC values.

ref_model

What is the row of the reference model? "best", "worst", or a row number.

Value

ref_model_num The

Note

Go BEARS!

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/

Matzke_2012_IBS

ReeSmith2008

FosterIdiots

See Also

convolve

Examples

1
test=1

Example output

Loading required package: rexpokit
Loading required package: SparseM

Attaching package: 'SparseM'

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

    backsolve

Loading required package: Rcpp
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.