title: Trying to place certain points over others
body: <p>I'm just trying to highlight certain data points (the red ones in the image) over others for expected years of school vs learning-adjusted years of school. The data points I'm trying to highlight are for primary US export markets in sub-Saharan Africa--there are 5. I need these points to appear over the others since they are the main points I'm trying to emphasize in relation to the rest of world and other SSA countries. I've tried subsetting the data, as well as layering those 5 points over the rest with an additional geom_point code.</p>
  <p>If someone could help with this I would really appreciate it.<a href="https://i.stack.imgur.com/94n9b.jpg" rel="nofollow noreferrer">Learning-adjusted vs. expected (ROW vs SSA)</a></p>
  <pre><code>LAYvsEY&lt;-ggplot(HC,aes(expected,learning,label=HC$`Country Name`))+
    geom_point(aes(fill=Comparison),pch=21,size=10)+
    labs(x=&quot;Expected Years of School&quot;,y=&quot;Learning-Adjusted Years of School&quot;)+
    ggtitle(&quot;Learning-adjusted Education vs. Expected Years of Schooling&quot;,subtitle=&quot;Sub-Saharan Africa vs. ROW&quot;)+
    stat_smooth(method=&quot;gam&quot;,se=TRUE,color=&quot;navy&quot;,show.legend=FALSE)+geom_text(check_overlap=TRUE,family=&quot;serif&quot;)+theme_stata(base_size=12,base_family=&quot;serif&quot;)+
    guides(color=guide_legend(override.aes=list(size=7)))+scale_y_continuous(breaks=c(2,4,6,8,10,12))+
    theme(legend.title=element_blank(),legend.position=c(0.12,0.88),
          legend.background=element_rect(colour=NA,fill=NA),
          panel.border=element_rect(color=&quot;black&quot;,fill=&quot;NA&quot;),
          plot.subtitle=element_text(face=&quot;italic&quot;))+
    scale_fill_manual(values=c(&quot;#A6CEE3&quot;,&quot;#B2DF8A&quot;,&quot;indianred&quot;),breaks=c(&quot;Rest of World&quot;,&quot;Sub-Saharan Africa&quot;,&quot;Primary SSA Export Market&quot;))
  </code></pre>