taxa | R Documentation |
Extracts taxa from download
objects and returns them in a useful format.
taxa(obj, ...) ## S3 method for class 'download' taxa(obj, ...) ## S3 method for class 'download_list' taxa(obj, collapse = TRUE, hierarchy = FALSE, ...)
obj |
an R object from which counts are to be extracted. |
... |
arguments passed to other methods. |
collapse |
should the results be returned as a list, one for each site ( |
hierarchy |
Should the taxonomic hierarchy be included? |
Methods are available for "download" and "download_list" objects.
Either a data frame of taxa or a list of such objects.
Simon Goring
## Not run: ostracodes <- get_dataset(datasettype = 'ostracode') ostro.dl <- get_download(ostracodes) ostro.taxa <- taxa(ostro.dl) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.