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.
1 | get_indices_where_list1_occurs_in_list2(list1, list2)
|
list1 |
The first list. |
list2 |
The second list list. |
This is used by prt
.
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_noNA
1 2 3 | list1 = c("N", "I", "C", "K")
list2 = LETTERS
get_indices_where_list1_occurs_in_list2(list1, list2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.