Increase size of geom_point for one factor level

Say I like to increase the size of only those data points where the factor variable cyl == 6. How can I do that? ggplot(mtcars, aes(x = qsec , y = mpg, col = as.factor(cyl ))) + geom_point(size= 2) I do not want to use the size option here: ggplot(mtcars, aes(x = qsec , y… Read More Increase size of geom_point for one factor level

Can't change the color of Bar chart in R

barchart <- ggplot(data=penguins)+ geom_bar(mapping=aes(species)) barchart + scale_fill_manual(values = c("Adelie"="purple","Chinstrap"="orange", "Gentoo"="green")) Hi, I am new to R, and programming in general, I am trying to designate a specific color to my bar chart, so I wrote. But the bars are still grey in the plot, would like to know why and thanks for everyone helped. >Solution… Read More Can't change the color of Bar chart in R

How can I center geom_label_repel labels so that they are in the middle of each bar?

I’m using geom_label_repel to place percentages in a faceted horizontal bar chart, which mostly works great, except that I can’t seem to find a way to shift the labels to the middle (or as close as possible) of each bar. Instead, they are justified right, which visually is a bit confusing as some bars are… Read More How can I center geom_label_repel labels so that they are in the middle of each bar?