Learn R Programming

BioGeoBEARS (version 0.2.1)

define_tipranges_object: Define a tipranges class and object

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

define_tipranges_object(tmpdf = NULL)

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.

Value

tipranges_object The tipranges object, of class tipranges

Details

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

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

Run this code
testval=1
tipranges_object = define_tipranges_object()
tipranges_object

Run the code above in your browser using DataLab