Reshaping data from long to wide format using data within a column in R
I am attempting to change the format of my dataset from long to wide format in order to create a matrix. The data is currently structured as:
I am attempting to change the format of my dataset from long to wide format in order to create a matrix. The data is currently structured as: