pretty much what it says. i cant seem to create my scatterplot with the code that my prof basically hand fed to us
ggplot(df1, aes(mean, y)) +
geom_point() +
geom_errorbar(aes(ymin = lwr, ymax = upr, xmin = left, xmax = right))
the error message says this
Error in `geom_point()`:
! Problem while computing aesthetics.
ℹ Error occurred in the 1st layer.
Caused by error in `FUN()`:
! `data` must be uniquely named but has duplicate columns