R/rm_group.R

Defines functions rm_group

Documented in rm_group

#' Ungroup data
#'
#' @description this function simply removes the $group in the \code{data.table} attributes
#'
#' @usage rm_group(dt)
#'
#' @param dt a \code{data.table}
#'
#' @export
rm_group <- function(dt) {
  attributes(dt)$group <- NULL
  dt
}
kleu046/wr.data.table documentation built on April 25, 2022, 1:41 p.m.