equalSteps: Creates intervals with equal sizes to be used by plot...

Description Usage Arguments Examples

View source: R/slicing.R

Description

Creates intervals with equal sizes from min/max values to be used by plot functions. If data is provided, it gets min/max from data.

Usage

1
equalSteps(min = NULL, max = NULL, slices, data = NULL)

Arguments

min

The minimum value

max

The maximum value

slices

The number of slices to be created. Note that, when you have n slices, the legend will have n - 1 colors.

data

Any data that can be converted to a data.frame. The first column of the data will be used to compute min and max.

Examples

1
equalSteps(0, 100, 5)

pedro-andrade-inpe/colrow documentation built on Aug. 29, 2019, 9:13 a.m.