Data manipulation

r

#1

Capture-1

a is a character variable(ID) and b is some numerical value.
How to get a column( c ) where it is sorted based on value of b for the same ID?


#2

Hi @sambid9988

test <- your table %>% dplyr::arrange(a,b)

Best regards

Alain