R language Access Menu

Plotting vertical and horizontal lines

code:
      > ggplot(bwdf, aes(x=age, y=lwt))+ geom_point()+ 
        geom_vline(xintercept=30)+ geom_hline(yintercept=150)

output (graph):

                  


    Comments & Feedback