Based on my own understanding, so use at ur own risk!
ggplot(#”ur data”,aes(x=#”ur x”,y=#”ur y”))
+ stat_boxplot(geom = “errorbar”,width=#”change da number according to ur needs”)
+ geom_boxplot(aes(fill=#”normally ur x”)) # give u a default color
+ scale_y_continuous(limits = c(#”min”,”max”)) # set ur min n max of ur y axis
#fill= set default fill color
#stat_boxplot will create a default error bar for the boxplot without min or max whisker bar.
#geom_boxplot is ur main plot. PEACE OUT