I am very new to R. I tried to come up with code in R that could help me convert the string using brackets, like the line below:
( 65 97) ( 80 12) ( 82 832) (108 23)
in this format:
65:97 80:12 82:832 108:23
I think I should find the position of the space between each bracket and replace it with: and then remove the brackets, but I do not understand. Can anyone help?
source
share