Replies: 1 comment
-
Hi there, Thanks for the reproducible example. The error message is a bit opaque unfortunately, but to fix this you just need to remove From this: plotAge <- ggplot(mean_age, aes(x = group, y = Mean_Age, fill = group)) +
geom_bar(stat = "identity",
position = position_dodge(),
width = .75,
color = "black",
linewidth = .25) +
... To this: plotAge <- ggplot(mean_age, aes(x = group, y = Mean_Age)) +
geom_bar(aes(fill = group),
stat = "identity",
position = position_dodge(),
width = .75,
color = "black",
linewidth = .25) +
...
Hope this helps, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys - i'm trying to plot this graph (csv with data attached), it's a plot comparing two groups' ages, with error bars for SEM, and i want to plot the P value of the difference between the two groups. i keep getting the error
Would be grateful for any advice - code below! thanks!
CSV with data
A Age.csv
Beta Was this translation helpful? Give feedback.
All reactions