Description Usage Arguments See Also
Updated function to add plot to table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | addtable2plot.new(
x,
y = NULL,
table,
lwd = par("lwd"),
bty = "n",
bg = par("bg"),
cex = 1,
xjust = 0,
yjust = 1,
xpad = 0.1,
ypad = 0.5,
box.col = par("fg"),
text.col = par("fg"),
col.rowname = par("fg"),
col.colname = par("fg"),
display.colnames = TRUE,
display.rownames = FALSE,
hlines = FALSE,
vlines = FALSE,
title = NULL,
text.font = NULL
)
|
x |
Numeric vectors for position coord. |
y |
Numeric vectors for position coord. |
table |
Data table to add. |
lwd, bty, bg, cex, xjust, yjust, xpad, ypad |
See par for details. |
box.col, text.col, col.rowname, col.colname |
Details for color of bg and text for different aspects |
display.colnames, display.rownames |
Logical vectors for whether row and column names should be displayed. |
hlines, vlines |
Logical vectors for whether table should have horizontal and vertical lines. |
title |
Value for table header. |
text.font |
See par for details on font. |
plotrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.