undo_groups.Rd
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
if (FALSE) { 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) }