How to Rename Factor Levels in R (With Examples) - Statology Jul 30, 2021 ... How to Rename Factor Levels in R (With Examples) · Method 1: Use levels() Function · Example 2: Use recode() Function · Additional Resources.