Description Usage Arguments Value Author(s) References Examples
Set breaks for color palette. Internal function.
1 | set.breaks(mat, interval = 0.1)
|
mat |
data matrix or vector for which the breaks will be deterined |
interval |
interval of color breaks |
A vector of breakpoints
Leo Lahti sorvi-commits@lists.r-forge.r-project.org
See citation("sorvi")
1 | # mat <- rbind(c(1,2,3,4,5), c(1, 3, 1), c(4,2,2)); pm <- PlotMatrix(mat, "twoway", midpoint = 3); PlotScale(pm$colors, pm$breaks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.