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
}
Pacific-salmon-assess/TESAsamSim documentation built on Feb. 5, 2021, 9:25 p.m.