Draw a scatter or a bubble plot
1 2 3 4 5 6 7  scatter.ade(x, y=NULL, group=NULL, z=NULL, data=NULL, vnames=NULL,
main=NULL, xlab=NULL, ylab=NULL, glab=NULL, zlab=NULL,
legendon="topright", xlim=NULL, ylim=NULL, zlim=NULL,
lwd=1, cex=1, pch=16, lty=1,
xticks=NULL, yticks=NULL, zticks=NULL,
col=NULL, tcol=NULL, bgcol=NULL, lcol=NULL, alpha=NULL,
fitline=0, wall=0, v=NULL, h=NULL, diag=FALSE, span=0.75)

x 

y 

group 

z 

data 
data.frame if used character string for (x,y,g,z) or formula 
vnames 
a vector of character strings with the names of groups in the legend 
main 
an overall title for the plot 
xlab 
a title for the x axis 
ylab 
a title for the y axis 
glab 
a title of the legend 
zlab 
a title for the z in the second legend 
legendon 
a single keyword from:
This places the legend on the inside of the plot frame at the given location. To locate 2 legends you can give a vector of 2 keywords. 
xlim 
the x limits (x1, x2) of the plot 
ylim 
the y limits (y1, y2) of the plot 
zlim 
the z limits (z1, z2) for the size of points 
lwd 
the line width 
cex 
character (or symbol) expansion: a numerical value, dont work if z is given 
pch 
plotting "character", i.e., symbol to use. This can either be a single character or an integer code for one of a set of graphics symbols. 15, 16, 17 working well with given z. 
lty 
the line type 
xticks 
the number of ticks on the x axis or a vector of exact ticks 
yticks 
the number of ticks on the y axis or a vector of exact ticks 
zticks 
the number os Symbols in the z legend or a vector of values for the Symbols 
col 
a vector of colors for the points for each group 
tcol 
color of the text in whole plot 
bgcol 
the background color for plot dekoration 
lcol 
color for the lines in plot, a vector of colors is possible 
alpha 
a parameter in [0, 1] for semitransparency of points 
fitline 
a number between 0 and 3 to fit:

wall 
a number between 0 and 6 for selection the dekoration style of the plot. 
v 
the xvalue(s) for vertical line(s). 
h 
the yvalue(s) for horizontal line(s). 
diag 
logical asking whether to plot a diagonal line 
span 
the span parameter for lowess curve fit (only if fitline=2) 
1 2 3 4 5 6 7 8 9 10  x<rnorm(1000)
y<rnorm(1000)
z<rnorm(1000, 3)
g<round(runif(1000))
# plot vs ID
scatter.ade(x, vnames=c("blue","red"), alpha=0.25, fitline=2, wall=0, lwd=2, col=4)
# Scatter plot
scatter.ade(x, y*x, g, vnames=c("blue","red"), alpha=0.25, wall=2)
# bubble plot
scatter.ade(x, y, g, z, vnames=c("blue","red"), alpha=0.25, xlim=c(5, 5), zticks=c(1, 2, 3, 4, 5), wall=3)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.