How to convert character data type into numeric in frames and how to count missing values from the dataset using R programming
Budget: ₹600 – ₹1,500 INR
We have a table in excel. there is a data type, we need to convert this into numeric data type and calculate the missing values means total number of missing values
Hint:
sum(is.na(mydata$age))
sum(is.na(df$age))
Hint:
x_num <- as. numeric(x)
Hint:
sum(is.na(mydata$age))
sum(is.na(df$age))
Hint:
x_num <- as. numeric(x)