Converting dataframe from “wide” to “long” format with pairs of ID variables
Here’s an example of what I am trying to do. I am starting with a dataframe in “wide” format, like below.
Here’s an example of what I am trying to do. I am starting with a dataframe in “wide” format, like below.