Learn R Programming

NISTunits (version 1.0.1)

ShortenTitles: Shorten titles for factor help files

Description

ShortenTitles shortens the titles for factor help files by removing info on parenthesis

Usage

ShortenTitles(s)

Arguments

s
string with the factor name

Value

Examples

Run this code
ShortenTitles('degree Fahrenheit (something long here)')

Run the code above in your browser using DataLab