Multiple boxplots using ggplot

前端 未结 1 1030
感动是毒
感动是毒 2020-12-04 02:08

I have a dataframe that looks like the one attached, with 6 columns and 1000 rows (tab separated). The column headings (0,30,60,120,240 and 360) are a time series (with 0 re

相关标签:
1条回答
  • 2020-12-04 02:47

    Did you try just using melt?

    library(reshape2)
    ggplot(melt(df), aes(variable, value)) + geom_boxplot()
    

    enter image description here

    0 讨论(0)
提交回复
热议问题