calculateBreaks: A helper function for 'legendPlot'

Description Usage Arguments Value Author(s)

View source: R/legendPlot.R

Description

Creates equal sized bins for the legend and display of the raster.

Usage

1
calculateBreaks(x, n_cols)

Arguments

x

raster.

n_cols

the number of colors for the legend. Takes input from legendPlot

Value

a vector of breaks for the legend.

Author(s)

Rachel R. Renne


DrylandEcology/rMultivariateMatching documentation built on Dec. 17, 2021, 5:30 p.m.