divergingJenksBreaks: Create diverging Jenks Breaks, split at some point.

View source: R/divergingJenksBreaks.R

divergingJenksBreaksR Documentation

Create diverging Jenks Breaks, split at some point.

Description

This function takes in data and produces Jenks Breaks, split at some point.

Usage

divergingJenksBreaks(dat, var, bins = c(3, 3), split_point = 0)

Arguments

dat

The dataset to use

var

Name of column containing variable to plot.

bins

"c(# of JenksBreaks below split_point, # JenksBreaks above split_point)". Default is c(3, 3).

split_point

The point at which to create two sets of breaks. Default is 0.

Value

a numeric vector of breaks


Changing-Cities-Research-Lab/bayViz documentation built on Dec. 5, 2023, 12:06 p.m.