Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_basics_v1.R
Given a row of a tipranges
object, converts to a
list of the corresponding statenames for each row.
1 | binary_ranges_to_letter_codes(tipranges, areanames)
|
tipranges |
a |
areanames |
a list of the names of the areas |
letter_code_ranges
A list of the states – there
will be as many states as there are rows/tips in
tipranges
. Each state will be a list of area
names.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/
Matzke_2012_IBS
binary_range_to_letter_code_list
,
letter_string_to_binary
,
letter_strings_to_tipranges_df
,
tipranges_to_tip_condlikes_of_data_on_each_state
1 2 3 4 5 6 7 8 9 10 11 | testval=1
# Define a tipranges object
tipranges_object = define_tipranges_object()
tipranges_object
areanames = getareas_from_tipranges_object(tipranges_object)
areanames
letter_code_ranges = binary_ranges_to_letter_codes(tipranges=tipranges_object,
areanames)
letter_code_ranges
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.