Yes it seems that it need more than 2 points to create the shape.
Thanks
Regards,
Mahmood
From: Kevin Thorpe
Sent: Thursday, May 20, 2021 1:38:32 PM
To: Mahmood Naderan-Tahan
Cc: R Help Mailing List
Subject: Re: [R] Incomplete violin chart representation
My
My guess would be there are only 2 observations contributing to that third
plot, which is probably not enough to show anything else.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana S
Hi
I use the following command to create a violin chart
p <- ggplot(mydata, aes(x=BENCH, y=V))
+ geom_violin(trim=FALSE)
+ geom_dotplot(binaxis='y', stackdir='center', dotsize=0.6)
+ scale_y_continuous(trans = scales::pseudo_log_trans(base = exp(1)))
However, in the output one of them are
3 matches
Mail list logo