I have a variable that should be numeric but is a character, this variable has two types of numeric values, when I convert them to numeric one is not recognized as a number:
num <-c("3,98E+03", "3,98E+03","0.003382932", "5,22E+02", "0.005464587")
as.numeric(num)
NAs introduced by coercion[1] NA NA 0.003382932 NA 0.005464587
I don't want to have NA introduced. Thank you!