- DESCRIPTION
- Produces a scatterplot with circle size indexing a third
variable.
-
- USAGE
- plotcircles(x, y, size = 1, xlab = NULL, ylab = NULL,
...)
-
- REQUIRED ARGUMENTS
- x - a numeric vector
- y - a numeric vector
-
- OPTIONAL ARGUMENTS
- size - a numeric vector indexing the size of the circles
- xlab - string for horizontal axis label
- ylab - string for vertical axis label
-
- DETAILS
- This plot provides a way to display three numerical
variable simultaneously. The x-y scatterplot points are
represented by circles, the area of which is proportional
to the third variable.
-
- EXAMPLES
- x <- rnorm(20)
y <- rnorm(20)
z <- rnorm(20)
plotcircles(x,y,z)
Gordon Smyth.
Copyright © 1996-2016. Last modified:
10 February 2004