define_tipranges_object: Define a tipranges class and object

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

View source: R/BioGeoBEARS_classes_v1.R

Description

Class tipranges is an extension of the data.frame class. It is used for holding discrete geographic range data for the tips on a phylogeny. Geographic ranges are represented with bit encoding (0/1) indicating absence or presence in each possible area.

Usage

1

Arguments

tmpdf

The user may input a data.frame holding the range data, if they like. Default is NULL, which means the function will produce a temporary data.frame as an example.

Details

This is just a data.frame with: rows = taxanames
columns = area names
cells = 0/1 representing empty/occupied

Value

tipranges_object The tipranges object, of class tipranges

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

getareas_from_tipranges_object, areas_list_to_states_list_old, areas_list_to_states_list_new, tipranges_to_tip_condlikes_of_data_on_each_state

Examples

1
2
3
testval=1
tipranges_object = define_tipranges_object()
tipranges_object

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