Skip to contents

Convert classIntervals to vector

Usage

classint_to_vector(x, digits = NULL)

Arguments

x

classIntervals object

digits

Integer with digits used for rounding.

Value

vector

Details

Returns a character vector with breaks of a classIntervals object. If digits = NULL, results will not be rounded

Examples

if (FALSE) { # \dontrun{
classint_to_vector(x = landscape_classified$breaks, digits = 4)
} # }