Thank you very much Rui!
--
Dr. Ivan Calandra
Imaging lab
RGZM - MONREPOS Archaeological Research Centre
Schloss Monrepos
56567 Neuwied, Germany
+49 (0) 2631 9772-243
https://www.researchgate.net/profile/Ivan_Calandra
On 04/09/2021 18:22, Rui Barradas wrote:
Hello,
The problem is that you have
Hello,
And another way, with geom_jitter
p + geom_jitter(
mapping = aes(shape = NMP_cat, group = Software),
position = position_dodge2(width = 1)
)
Hope this helps,
Rui Barradas
Às 17:22 de 04/09/21, Rui Barradas escreveu:
Hello,
The problem is that you have two grouping aesthetics, c
Hello,
The problem is that you have two grouping aesthetics, color and shape.
In geom_point make the group explicit:
p <- ggplot(my_data, aes(x = Diet, y = value, color = Software))
p <- p + geom_boxplot(outlier.shape = NA)
p + geom_point(
mapping = aes(shape = NMP_cat, group = Software),
Dear useRs,
I'm having a problem to combine geom_boxplot and geom_point with jitter.
It is difficult to explain but the code and result should make it clear
(the example dataset is long so I copy it at the end of the email):
p <- ggplot(my_data, aes(x = Diet, y = value, color = Software))
p <
4 matches
Mail list logo