Transpose specified columns columns to rows with grouped data
I have a dataframe like this: household person R01 R02 R03 R04 R05 1 1 1 NA 1 7 7 NA 2 1 2 1 NA 7 7 NA 3 1 3 3 3 NA 11 NA 4 1 4 3 3 11 NA NA 5 2 1 NA 7 16 NA NA 6 2… Read More Transpose specified columns columns to rows with grouped data