I am trying to write a function to change the numbers in a column so that the ',' is a '.'
I want to then convert that column into a double.
For example, here is some data to copy/paste:
df <- data.frame(a=c("1,1", "2,2"))
I am trying to write a function to change the numbers in a column so that the ',' is a '.'
I want to then convert that column into a double.
For example, here is some data to copy/paste:
df <- data.frame(a=c("1,1", "2,2"))