R/ungroup_data.R

Defines functions ungroup_data

ungroup_data <- function(data) {
  if(inherits(data, "survey")) {
     srvyr::ungroup(data)
  } else dplyr::ungroup(data)
}

Try the saros.base package in your browser

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

saros.base documentation built on June 8, 2025, 10:03 a.m.