Suppose I have the following dataframe in R
I would like the dataframe to become
How do I do this?
Yeah, pivotwider was what I needed.