I'm new in R and ggplot2. Currently I have a plot like this:
And I want something like that:
Unfortunately I have no idea, how to split characters on x-axis and assign them a different color.
This is my code:
attach(trustData)
ag <- aggregate(trustData, by = list(type = face_category_and_gender2_ZAUFANIE), mean)
plot <- ggplot(data = ag, aes(x = type, y = response)) + list(geom_point(colour = 'red'))
plot
As new member, I can't put here more than 2 links, so example of already aggregated data is in comments
Thanks!