View source: R/divergingJenksBreaks.R
divergingJenksBreaks | R Documentation |
This function takes in data and produces Jenks Breaks, split at some point.
divergingJenksBreaks(dat, var, bins = c(3, 3), split_point = 0)
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. |
a numeric vector of breaks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.