Re: [R] Violin plot with mean_sdl

2021-04-01 Thread Bill Dunlap
help(stat_summary) suggests you use the fun.args=list(...) argument to pass arguments to the fun.* functions. Try replacing mult=1 by fun.args=list(mult=1). It is possible that ggplot2::stat_summary changed its behavior since that web page was written or that the web page was always wrong. -Bil

[R] Violin plot with mean_sdl

2021-03-31 Thread Mahmood Naderan-Tahan
Hi, I followed the example described at [1] but I don't know why I get the following warning > library(ggplot2) > library(Hmisc) > mydata <- read.csv('test.csv', header=T,row.names=1) > mydata V1 V2 V3 V4 P1 73.6 0.7 74.6 R P2 75.2 0.7 75.8 R P3 6.5 0.0 7.3 R P4 41.4 0.3 39.2 C P5