How to create a new column in r with condition July 8, 2019 16 32 64 128 How to create a new column based on condition in r