R/tool_prefix_colnames.R

Defines functions .prefix_colnames

.prefix_colnames <- function(x, prefix) {

  # 给一个列名加上前缀
  base::names(x) <- base::paste0(prefix, base::names(x))
  return(x)
}

Try the multiRL package in your browser

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

multiRL documentation built on March 31, 2026, 5:06 p.m.