| dry_wet | R Documentation |
Filter dataframe based on required biomass type (dry or wet).
dry_wet(dats, biomass_type)
dats |
Input data |
biomass_type |
If biomass should be wet or dry, or most common |
Dataframe with filtered biomass type, and chosen one (dry or wet)
# Data holding both kinds of biomass
dats <-
data.frame(species = c("sp_a", "sp_b"),
stage = "larva",
size_col = c(3.1, 2.2),
biomass_col = c(0.4, 0.2),
biomass_type = c("dry", "wet"))
# Keep the dry measurements only
dry_wet(dats, biomass_type = "dry")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.