Relative Content

Tag Archive for rsorting

R: order (some) observations by specific values

I need to re-order some of the rows of my dataframe. I have a list of observations (names) that I need to be at the top. It’s a string variable, and just a selection of them need to be at the top–the rest can be in their existing order.