iplot: Interactive scatterplot

Description Usage Arguments Value Examples

Description

Creates an interactive scatterplot.

Usage

1
iplot(x, y, group, indID, chartOpts = NULL)

Arguments

x

Numeric vector of x values

y

Numeric vector of y values

group

Optional vector of categories for coloring the points

indID

Optional vector of character strings, shown with tool tips

chartOpts

A list of options for configuring the chart. Each element must be named using the corresponding option.

Value

None.

Examples

1
2
3
4
x <- rnorm(100)
grp <- sample(1:3, 100, replace=TRUE)
y <- x*grp + rnorm(100)
iplot(x, y, grp)

kbroman/testjs documentation built on May 20, 2019, 8:14 a.m.