Home > OS >  R create boxplot based on columns data
R create boxplot based on columns data

Time:10-24

I have a table with the following columns:

id duration1 duration2 duration3
1 500 250 140
2 300 270 200
3 250 200 300
4 400 210 400

I want to plot the values of duration1, duration2, and duration3 in a boxplot with the column names (duration1,...2,...3) as labels of the x-axis and their column values as y-vales.

required output enter image description here

  • Related