R/change_col_names.R

Defines functions change_col_names

Documented in change_col_names

#' @title Create custom column names for pivotting.
#'
#' @description  Create nice column names when pivoting MRM data.
#'
#' @param x not used, but need by pivot_wider()
#'
#' @return A character vector with custom column names.
#'
#' @author Rico derks
#'
change_col_names <- function(x) {
  return(c("rt", paste0("trans_", 1:3)))
}
ricoderks/eisaCIM documentation built on Dec. 22, 2021, 4:09 p.m.