proper_col: Make a "metric" column proper

Description Usage Arguments Value Examples

Description

Make a "metric" column proper

Usage

1
proper_col(df, colname, levels_vec = NULL)

Arguments

df

a dataframe with a column named "metric"

colname

String giving the name of the column whose values should be made characters in proper case.

levels_vec

an optional vector of strings giving levels of a factor.

Value

data frame with "metric" column in proper case

Examples

1
proper_col(CO2, "Treatment")

brianwonch/mediamunger documentation built on May 13, 2019, 7:42 a.m.