How can I rearrange my data frame rows by a set order of index numbers?
for example:
$ PatNum Response
1 3 r
2 4 r
3 10 r
4 13 nr
This goes on for a total of 40 rows. I want to make row one starting with row 13, then 26, 1, 2, 61, 62, 63, etc. So it would look like:
$ PatNum Response
13 1 nr
26 2 nr
1 3 r
2 4 r