# NOT RUN {
# return ranges for each category of x and y
bi_class_breaks(stl_race_income, style = "quantile", x = pctWhite, y = medInc,
dim = 4, dig_lab = c(4, 5), split = FALSE)
# ranges can be returned with brackets and parentheses
bi_class_breaks(stl_race_income, style = "quantile", x = pctWhite, y = medInc,
clean_levels = FALSE, dim = 4, dig_lab = 3, split = FALSE)
# return breaks for each category of x and y
bi_class_breaks(stl_race_income, style = "quantile", x = pctWhite, y = medInc,
dim = 4, dig_lab = c(4, 5), split = TRUE)
# optionally name vector for dig_lab for increased clarity of code
bi_class_breaks(stl_race_income, style = "quantile", x = pctWhite, y = medInc,
dim = 4, dig_lab = c(x = 4, y = 5), split = TRUE)
# scalars can also be used for dig_lab, though results may be less optimal
bi_class_breaks(stl_race_income, style = "quantile", x = pctWhite, y = medInc,
dim = 4, dig_lab = 3, split = TRUE)
# }
Run the code above in your browser using DataLab