plot_table | R Documentation |
Plot a table on the current graphic device. Useful for risk tables.
plot_table(
x,
main = character(),
xlab = character(),
ylab = character(),
at = seq_len(nrow(x)) - 1L,
xlim = range(at),
ylim = c(0L, ncol(x)),
ylabels = TRUE,
col = rep_len(1L, ncol(x)),
xaxis = TRUE,
cex.xaxis = 3/4,
cex.yaxis = 1.25,
cex.text = 1.5,
...
)
x |
|
main |
|
xlab |
|
ylab |
|
at |
|
xlim |
|
ylim |
|
ylabels |
|
col |
|
xaxis |
|
cex.xaxis |
|
cex.yaxis |
|
cex.text |
|
... |
further arguments passed to |
nothing, used for its side-effects (plotting).
m <- matrix(
1:8, nrow = 4,
dimnames = list(c(0, 30, 90, 365), LETTERS[1:2])
)
plot_table(m, main = "Cumulative number of events")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.