get.vals {tlocoh} | R Documentation |
Get x and/or y values from a plot using the mouse
get.vals(axis = c("x", "y")[1], round.to = 1, print = TRUE)
axis |
Which axes to return values for, character vector |
round.to |
An integer number that values will be rounded to. For example if |
print |
Whether to print the values in the console, T/F |
This function allows you to get the x and/or y values by clicking on the active plot window. When you're done clicking, right-click and select 'Stop' from the pop-up menu.
A vector or matrix of the x and/or y values where the mouse was clicked.