Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_generics_v1.R
This function will return one match (the first) for each
item in the list; i.e. the second-list index for each
item in the first list. Only the first hit in the second
list is returned. Unlike
get_indices_where_list1_occurs_in_list2
,
non-hits (NAs) are excluded.
1 2 | get_indices_where_list1_occurs_in_list2_noNA(list1,
list2)
|
list1 |
The first list. |
list2 |
The second list list. |
This is used by get_indices_of_branches_under_tips, which
is used by extend_tips_to_ultrametricize
,
which can be used by section_the_tree.
match_indices
The match indices.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster
Matzke_2012_IBS
prt
, LETTERS
,
get_indices_where_list1_occurs_in_list2
,
extend_tips_to_ultrametricize
,
section_the_tree
,
return_items_not_NA
1 2 3 | list1 = c("N", "I", "C", "K")
list2 = LETTERS
get_indices_where_list1_occurs_in_list2_noNA(list1, list2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.