Description Usage Arguments Value Author(s) Examples
Make bubbleplot.
1 2 3 4 5 6 7 8 | bubble_plot(
s_mat,
c_mat,
n_mat,
col = colorRampPalette(c("Blue", "Grey", "Red"))(100),
breaks = seq(-2, 2, length.out = 100),
main = NULL
)
|
s_mat |
(matrix) Matrix denotes the size of bubbles. |
c_mat |
(matrix) Matrix denotes the color of bubbles. |
n_mat |
(matrix) Matrix denotes the name of bubbles. |
col |
(character) Colors. |
breaks |
(numeric) Breakpoints of colors. |
main |
(character) Title. |
(NULL) A bubbloplot.
DING, HONGXU (hd2326@columbia.edu)
1 2 | s_mat <- c_mat <- n_mat <- matrix(1:12, 3, 4, dimnames=list(1:3, 1:4))
bubble_plot(s_mat, c_mat, n_mat, breaks=seq(1, 12, length.out=100), main="")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.