I have a dataframe like:
X1 X2 X3 ...
Title One Two Three
X1 0 10 19
X2 4 20 3
X3 17 39 3
..
I would like to create a Boxplots with the title of it being 'Title' (one, two or three) and the corresponding data in each column being used. So, I want a Boxplot for each column. How can I do this?
The Y-axis is X1, X2... (in the leftmost column) (which should just be 1, 2..) and the x-axis is the Title.
read.csv(file="myfile.csv", header=TRUE)
.namevec
), and then make your boxplot like this:boxplot(df, names=namevec)
.str(df)
. If so, then just doboxplot(df)
.