I have such a value:
" 0.67564;"
and I want to delete ;
and only have the double value. how can I do it in r?
a <- " 0.67564;"
gsub(';', '', a)
[1] " 0.67564"
To get a numeric representation:
as.numeric(gsub(';', '', a))
[1] 0.67564
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments