Undo species groupings generated by create_groups

undo_groups(dat.obj)

Arguments

dat.obj

Input dataset. Must be an object of class brsdata.grp, as given by create_groups.

Value

A list object of class brsdata.

See also

Author

Phil J. Bouchet

Examples

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) }