iplot {iplots} | R Documentation |
This function creates a new interactive scatterplot from the given data.
iplot(x, y=NULL, xlab=NULL, ylab=NULL, ...)
x |
Data for the x axis. It can be either a vector of values or a variable of an iset. If y is not given, this must be a list of one of these. |
y |
Data for the y axis. It can be either a vector of values or a variable of an iset. |
xlab |
Name for x variable. |
ylab |
Name for y variable. |
... |
All additional parameters are passed to
|
Creates an interactive scatterplot.
Additional parameters:
Number of pixels the point diameter should be changed when in-/decreasing it via keyboard or menu.
Whether to use a custom background color.
COL_CUSTOMBG
The custom background color.
Whether axes should be drawn.
Whether the same scale should be applied to both axes.
Minimal point diameter.
Point diameter.
Gives the amount of space around the data points. 1.0 means no space, 1.5 means half as much space around the data as is used for the data itself. This resets zoom.
Default values:
changePtDiamBy=2, customFieldBg=FALSE, COL_CUSTOMBG="white", drawAxes=TRUE, equiscale=FALSE, minimalDiam=1, ptDiam=3, spaceprop=1.1
Resulting plot object.
ihist
, ibar
, iplot.list
,
iplot.opt
data(iris)
attach(iris)
iplot(Sepal.Width,Petal.Width)
iplot(Sepal.Width/Sepal.Length, Species)