shorten_colnames: Shorten Column Names of data.frame

Description Usage Arguments

View source: R/shorten.r

Description

Shorten Column Names of data.frame

Usage

1
2
3
4
5
6
7
shorten_colnames(
  x,
  cols = seq_along(x),
  sep = " ",
  method = shorten_string,
  ...
)

Arguments

x

the data.frame whose columnames should be shortened.

cols

the column names to shorten. Can be integer denoting which columns or character indicating the column names.

sep

the shortened name separator.

method

how should the string be shortened. Can be either shorten_string or shorten_acronym. Default shorten_string.

...

other parameters to be passed to method.


presagia-analytics/normalizer documentation built on Dec. 12, 2019, 7:40 a.m.