shorten: function to make column titles which are too long into return...

Description Usage Arguments Author(s) Examples

View source: R/package.R

Description

the shorten() function takes column names that have spaces in them and makes each blank space into a return. I may add functionality so that you can choose the length of a string before adding the return stop. It just seemed more intuitive to have a simple function rather than doing a gsub everytime.

Usage

1
shorten(filename)

Arguments

filename

filename is a dataframe in which the column names seem like they're too long.

Author(s)

Tony Boy

Examples

1
2
{
  }

tonyelowsky/water documentation built on Nov. 13, 2019, 12:36 a.m.