R/get_col_types.R

Defines functions get_col_types

Documented in get_col_types

#' ruf
#' @name get_col_types
#' @export
#' @import tidyverse
get_col_types <- function(data) {
  d <- data %>% 
    dplyr::summarise_all(class) %>% 
    tidyr::gather(variable, class)
  return(d)
}
nelsonroque/ruf documentation built on March 11, 2021, 2:53 p.m.