names_drop | R Documentation |
This is a modifier which will remove rows which contain matching function values
names_drop(df, drop_names, drop_children = F)
df |
an ecotaxa-tsv style data frame |
drop_names |
character vector of which names to drop |
drop_children |
option to drop taxonomic children |
Alex Barth
# Droping all not-living categories:
ecopart_example <- ecopart_example |> mod_zoo(func = names_drop,
drop_names = 'not-living',
drop_children = TRUE)
# Can be done with a single DF:
# Drop all artefacts
cast1_no_arte <- ecopart_example$zoo_files$bats361_ctd1 |>
names_drop('artefact',drop_children = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.