zoomin: Zoom for points in base 'R' plot

View source: R/plot_extra.R

zoominR Documentation

Zoom for points in base R plot

Description

Provides a summary statistic for sample points in a plot.

Usage

zoomin(x, y, ...)

Arguments

x, y

x- and y-axis variables

...

additional arguments passed to identify

Examples

set.seed(1)
x <- runif(10)
y <- rnorm(10, mean = 5)

par(mfrow = c(1, 2))
plot(x, y, xlab = 'mean', ylab = 'sd')

zoomin(x, y)
## ESC to quit


raredd/plotr documentation built on Nov. 19, 2023, 4:09 a.m.