How to replace NA in a column with specific value

In this tutorial we will learn how to replace missing values/NA in a column with a specific value. We will replace NA in a column using two approaches. At first we will use dplyr function mutate and ifelse to identify the element(s) with NA and replace with a specific value. Next we will use base… Continue reading How to replace NA in a column with specific value

How to Replace NAs with Column mean using tidyverse

In this tutorial, we will learn how to replace missing values NAs in a data set with column means using tidyverse functions. Dealing with missing data is very important in doing data analysis. Understanding the origin of missing values NAs is very important to make a decision on what to do with them. In earlier… Continue reading How to Replace NAs with Column mean using tidyverse

Exit mobile version