pre-processing

How to Create Dummy Variables in R (with Examples)

In this tutorial, we will learn how to create dummy variables in R. Now, creating dummy/indicator variables can be carried out in many ways. For example, we can write code using the ifelse() function, we can install the R-package fastDummies, and we can work with other packages and functions (e.g. model.matrix). In this post, however, […]

How to Create Dummy Variables in R (with Examples) Read More »

Scroll to Top