plotBubbles {PBSmodelling} | R Documentation |
Construct a Bubble Plot from a Matrix
Description
Constructs a bubble plot for a matrix z.
Usage
plotBubbles(z, xval = FALSE, yval = FALSE, rpro = FALSE,
cpro = FALSE, rres = FALSE, cres = FALSE, powr = 1,
clrs = c("black", "red"), size = 0.2, lwd = 2, debug = FALSE, ...)
Arguments
z |
input matrix |
xval |
x-values for the columns of z. if xval=TRUE, first row contains x-values for the columns |
yval |
y-values for the rows of z. if yval=TRUE, first column contains y-values for the rows |
rpro |
if rpro=TRUE, convert rows to proportions |
cpro |
if cpro=TRUE, convert columns to proportions |
rres |
if rres=TRUE, use row residuals (subtract row means) |
cres |
if cres=TRUE, use column residuals (subtract column means) |
powr |
power transform. radii proportional to z^{powr}. powr=0.5 gives bubble areas proportional to z |
clrs |
colours used for positive and negative values |
size |
size (inches) of the largest bubble |
lwd |
line width for drawing circles |
debug |
display debug information if true |
... |
additional arguments for symbols function |
See Also
genMatrix
Examples
plotBubbles(genMatrix(20,6))
[Package
PBSmodelling version 0.60
Index]