Pre-process data
Teppo Valtonen · 2023
Before you can start building plots, you often need to pre-process data in various ways. You may need to, for example, rename variables, convert values to NA or change the data types of variables. Often you need to create new variables by calculating from numeric variables or creating new categories. Furthermore, recoding especially categorical variables is a common need.