Learn R Programming

BioGeoBEARS (version 0.2.1)

getareas_from_tipranges_object: Get the names of the areas in a tipranges object

Description

This function extracts the names of the areas in a tipranges object. Just a shortcut for names(tipranges@df).

Usage

getareas_from_tipranges_object(tipranges)

Arguments

tipranges
An object of class tipranges.

Value

areanames, a list of the names of the areas

See Also

define_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

areanames = getareas_from_tipranges_object(tipranges_object)
areanames

Run the code above in your browser using DataLab