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 the
corresponding name(s), collapsed into a string. E.g., if
the areas were (A,B,C,D)
, and the tipranges row
had (1 0 1 0)
, the output statename would be "AC".
1 | binary_range_to_letter_code_txt(tipranges_row, areanames)
|
tipranges_row |
row of a |
areanames |
a list of the names of the areas |
statename
The corresponding name(s), collapsed
into a string
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
,
tipranges_to_tip_condlikes_of_data_on_each_state
1 2 3 4 5 | testval=1
tipranges_row = c(1, 0, 1, 0)
areanames = c("A", "B", "C", "D")
statename = binary_range_to_letter_code_txt(tipranges_row, areanames)
statename
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.