Problem
I've got an R matrix with some data produced by a computer program. I've configured the data to be imported into R as a matrix. There are an even number of columns, with column (2*i, 2*i+1)
being two variables measured under condition i
. I've made a visualisation of this below, and how I am trying to produce a box-plot:
Attempts
Unfortunately, the columns don't have any labels, or anything like that, and I'm not sure how to get multiple boxplots in the case where I have two columns representing the different labels in this format.
I've tried to adapt this excellent question to work, but given his columns are effectively a combined version of the (A,B) pairs you see in my diagram with a label column, I'm not sure how to re-work it for my case.
Here's what I've got so far, but the grouping isn't there and nor are the categories:
Since it's useful to have the actual data, I've posted a link to my data here.