I have a list of values in a matrix where the dimensions are week by day (so each value represents a specific day in a week). The weeks are in increasing order and the days are defined by their name (e.g. "Friday").
I'd like to turn this into a plot and am thinking that the best way to do it is unravel it so that the values in the matrix are listed in order by calendar day, starting with a specified day.
Example:
Friday Monday Thursday
w1 5 3 2
w2 1 7 1
w3 2 10 9
-> (by Monday): (3, 2, 5, 7, 1, 1, 10, 9, 2)
How do I do this cleanly in R? And if you have another idea on how to present the data better, please do speak up.