bubble_plot {pageRank} | R Documentation |
Make bubbleplot.
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)
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="")