zoomin: Zoom for points in base 'R' plot

Description Usage Arguments Examples

View source: R/plot_extra.R

Description

Provides a summary statistic for sample points in a plot.

Usage

1
zoomin(x, y, ...)

Arguments

x, y

x- and y-axis variables

...

additional arguments passed to identify

Examples

1
2
3
4
5
6
7
8
9
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. 13, 2018, 7:05 a.m.