scatter - Write using mouse on R plot? -
I type in the Using scatter gm is there any possibility of drawing on this graph? I would like to add a straight line and get its parameters, but in my opinion Itemprop = "text"> Take a look at RStudio and this example: on this plot One no Line, and will allow you to slope and block it. It was inspired by the example of this page: Note that it requires RStudio to be installed (this For more information, go to plot () function.
abline () can be inconvenient (I
Library (Manipulation) data = matrix (rnorm (20), ncol = 2) example & lt; - function (data, a, b) {plot (data [, 1], data [, 2]) abline (a = a, B = b)} manipulation (example (data, a, b), a = slider (-5, 5), b = slider (-5,5))
Locator with other solutions in Base R. Can be done.
Comments
Post a Comment