Home > Mobile >  How to color the points and background in within area using ggplot2
How to color the points and background in within area using ggplot2

Time:12-02

I am really new to use R. So I am having a problem to visualize data using ggplot2 package in R. I would like to create a linear regression graph in which the points within the specific area have the same color and the points outside that area have the same color. Also, I would like to change the background within the specific area to focus on that area as well.

The graph I would like to make will be similar like the below graph.

enter image description here

  • Related