Let's say I have this vector:
x <- c(0, 9, 352, 0.0523, 0.00006234, -12345, -1)
And I would like to increase the right-most digit by 1 regardless of the sign (+/-) of the number, how should I do it?
This is my desired output.
x_out <- c(1, 10, 353, 0.0524, 0.00006235, -12346, -2)