I have this string variable
mystr <- "98,015"
and I want to convert it to number.
So I use:
num <- as.numeric(mystr)
but I receive this error:
Warning message:
NAs introduced by coercion
This introduce NA instead the number. If a use a string like "21"
I take the number successfully. What can I do?