> data2=read.csv("/Users/siyicao/Desktop/data2.csv")
> x=data2$con
> y=data2$value
> group=data2$con
> pattern.type=c("blank","blank","blank","blank","blank")
> patternboxplot(data2,x,y,group,pattern.type = pattern.type,legend.label = "")
错误: Aesthetics must be either length 1 or the same as the data (5): colour
Run `rlang::last_error()` to see where the error occurred.
我的data2是这样的
con value
1 2.784
2 4.5486
3 6.67546
4 5.5464
5 4.435345
4 4.456
3 3.345345
就是一共有5组,想按照5组画出箱型图