Browsed by
Tag: Data Wrangling

Renaming Variables and Character Strings in R

Renaming Variables and Character Strings in R

I want to show you how to rename variables and character strings in R. This is a basic task but one that I do frequently when working with a new dataset. Renaming variables and character strings is useful, especially when creating graphics. For example, if I were plotting these data, I would want the variable name to show as “Coffee Roast” rather than “coffee.” If I were just doing data wrangling, I wouldn’t care as much about the variable name….

Read More Read More