undo_groups | R Documentation |
Undo species groupings generated by create_groups
undo_groups(dat.obj)
dat.obj |
Input dataset. Must be an object of class |
A list object of class brsdata
.
Phil J. Bouchet
create_groups
summary.brsdata
## Not run:
library(espresso)
# Import the example data
mydat <- read_data(file = NULL)
summary(mydat)
# Group all beaked whales together
mydat.grouped <- create_groups(mydat, species.groups = list(beaked = c("Md", "Zc", "Ha")))
class(mydat.grouped)
summary(mydat.grouped)
# Undo groupings and revert back to the original data
mydat.ungrouped <- undo_groups(mydat.grouped)
class(mydat.ungrouped)
summary(mydat.ungrouped)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.