I am hoping to fine tune ggplot2 shape types in two overlay plots when coding by groups. Is this possible? I created a strip plot with points for mean observations, coded with two different shapes for two different factors of seeding rate, and three different colors for different fertilizer price scenarios. I included jitter observations of the values used to calculate these means, also coded by the same color and shape groups listed for the mean points. I included lines showing standard errors for each mean.
To improve visualization, I would like the jitter observations to be open shapes and the means to be closed shapes.
library(ggplot2)
p<-ggplot()+ geom_jitter(data=econ4,position=position_jitter(0.2),aes(x=location,y=profit,shape=seeding.rate,colour=urea.cost.USD,alpha=0.05))+theme_bw()+geom_hline(yintercept=0)+labs(y = "profit per ha (USD)")
p<-p+geom_point(data=econ4,aes(x=location,y=mean.profit,colour=urea.cost.USD,shape=seeding.rate))
p<-p+geom_linerange(data=econ4,aes(x=location,y=mean.profit,ymin=mean.profit-se.profit,ymax=mean.profit+se.profit,colour=urea.cost.USD))
#p<-p+scale_shape_manual(values=1:2)
p<-p+scale_colour_manual(values=c("#0072B2","#009E73", "#CC79A7"))
p<-p + coord_flip()
p<-p+scale_shape_manual(values=1:2) #this changes all shapes to open. I would like this to apply only to the geom_jitter.