Draw an extent with two clicks
Arguments
- show
the drawn extent
- ...
arguments pass to
graphics::rect()
Examples
if (interactive()) {
plot(1)
draw_extent(show = TRUE) ## click twice on the plot
}
Draw an extent with two clicks
the drawn extent
arguments pass to graphics::rect()
if (interactive()) {
plot(1)
draw_extent(show = TRUE) ## click twice on the plot
}