Re: [R] space between bars of a group in ggplot2

2020-12-16 Thread PIKAL Petr
flow.com/questions/18229835/how-do-i-manually-set-geom-bar-fill-color-in-ggplot hist + geom_col(width=0.4, position = position_dodge(width=0.5))+ scale_fill_manual(values=rep(c("red", "blue"), each=3)) Cheers Petr From: azam jaafari Sent: Wednesday, December 16, 2020 10:57

Re: [R] space between bars of a group in ggplot2

2020-12-15 Thread PIKAL Petr
2020 9:16 PM > To: r-help@r-project.org > Subject: [R] space between bars of a group in ggplot2 > > Hello Dear > I want to make a barplot for groups with three repetitions and same values. > dataset is like this: > > groups: a b

[R] space between bars of a group in ggplot2

2020-12-14 Thread azam jaafari via R-help
Hello Dear I want to make a barplot for groups with three repetitions and same values. dataset is like this: groups:                  a                          b                        c value:           1.2, 1.2, 1.2     2.5, 2.5,2.5   Condition: sat, sat, sat,