I am using following command to replace '?' with NA but not able to do so.
I want to replace '?' with NA and then omit the rows
my_data[my_data == '?'] <- NA
good_data <- na.omit(my_data)
I am using following command to replace '?' with NA but not able to do so.
I want to replace '?' with NA and then omit the rows
my_data[my_data == '?'] <- NA
good_data <- na.omit(my_data)