set.breaks: Set breaks for color palette. Internal function.

Description Usage Arguments Value Author(s) References Examples

Description

Set breaks for color palette. Internal function.

Usage

1
  set.breaks(mat, interval = 0.1)

Arguments

mat

data matrix or vector for which the breaks will be deterined

interval

interval of color breaks

Value

A vector of breakpoints

Author(s)

Leo Lahti sorvi-commits@lists.r-forge.r-project.org

References

See citation("sorvi")

Examples

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)

sorvi documentation built on May 2, 2019, 6:16 p.m.