Description Usage Arguments Examples
Taxon data.frame
1 | taxon_df(x)
|
x |
A data.frame of taxa |
1 2 3 4 5 6 7 8 | # subset data.frame using taxonomy
df <- data.frame(family=c('Asteraceae','Asteraceae','Asteraceae','Poaceae','Poaceae','Poaceae'),
tribe=c('Helianthi','Helianthi','Helianthi','Poaeae','Festuci','Poaeae'),
genus=c('Helianthus','Helianthus','Madia','Poa','Festuca','Holodiscus'),
stringsAsFactors = FALSE)
df2 <- taxon_df(df)
df2 %>% pick(family)
df2 %>% pick(genus, tribe)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.