R/ungroup.R

Defines functions ungroup.activitylog

Documented in ungroup.activitylog

#' @title Ungroup log
#' @param x Activitylog
#' @param ... variables to remove from grouping
#' @name ungroup
#' @importFrom dplyr ungroup
#' @export
dplyr::ungroup

#' @describeIn ungroup Ungroup columns in eventlog
#' @export

ungroup.activitylog <- function(x, ...) {

	mapping <- mapping(x)
	x %>%
		as.data.frame() %>%
		dplyr::ungroup(...) %>%
		re_map(mapping)
}

Try the bupaR package in your browser

Any scripts or data that you put into this service are public.

bupaR documentation built on May 29, 2024, 7:46 a.m.