Answers for "change character to numeric r"

R
0

character to integer in r

x = "1.3"
x = as.Integer(x)
# x = 1
is.Integer(x)
# TRUE
Posted by: Guest on February-18-2021

Code answers related to "change character to numeric r"

Browse Popular Code Answers by Language