Using dplyr to replace negative values

后端 未结 0 1458
粉色の甜心
粉色の甜心 2020-12-23 13:07

I have a variable with numeric integers -6 to 3450. I want to replace anything <0 with its absolute value and 00 in front.

So for example

-6, -5, -4, -3, -2

相关标签:
回答
  • 消灭零回复
提交回复
热议问题