r - ggplot multiple panels, multiple curves -


this code makea plot, scatter of 2 variables factored city , grade:

ggplot(e,aes(x=pre_c,y=post_c,col=grade))+geom_point()+facet_grid(grade~city) 

my plot

can suggest how add second set of black dots in picture, scatter of pair of variables? first set control , second treated group in example.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -