Recode & Reorder - RStudio Addin

RecodeReorder is RStudio addin for interactively renaming, collapsing and reordering factor levels. Addin automaticaly generates R code that can be inserted in an active R script. Addin uses data.frame objects from Global Env.

Installation

You can install addin from GitHub with:

# install.packages("remotes")
remotes::install_github("milosvil/RecodeReorder")

Report a bug at https://github.com/milosvil/RecodeReorder/issues

Browse source code at https://github.com/milosvil/RecodeReorder

Step by step guide

Step 1: Load data.frame objects.

Step 2: Run addin from Addins dropdown menu.

Step 3: Select data and variable.

Step 4: Rename and reorder levels. For reordering drag and drop text inputs.

Step 5: Insert generated R code by clicking the INSERT CODE button.