R/ungroupRowwise.R

Defines functions ungroupRowwiseDF

Documented in ungroupRowwiseDF

#' ungroupRowwiseDF
#'
#' Simple helper function to undo rowwise grouping.
#'
#' @param x Dataframe that is grouped rowwise.
#' @return Returns a dataframe that is no longer grouped rowwise.
#'
#' @export
ungroupRowwiseDF <- function(x) {
  class(x) <- c( "tbl_df", "data.frame")
  x
}
TESA-workshops/TESAsamSim documentation built on Feb. 6, 2021, 12:25 a.m.