0

Using the bi_class(), I am trying to create mapping classes for a bivariate map. These data will be stored in a new variable named bi_class, which will be added to the given data object. The code below returns an error of

Error in cut.default(.data[[var]], breaks = classInt::classIntervals(.data[[var]],:'breaks' are not unique
    IDD_nhmap <- IDD_nhmap %>%
  group_by(ProjectID) %>%
  bi_class(x = race_black, y = svi, style = "quantile", dim = 3) %>%
  bi_class(x = race_hisp, y = svi, style = "quantile", dim = 3) 
shs
  • 3,683
  • 1
  • 6
  • 34
Nader Mehri
  • 514
  • 1
  • 5
  • 21
  • 1
    Please try to provide a [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). In particular, your question contains no data run your code with. It is unlikely that anyone will be able to help you without any data – shs Feb 14 '23 at 18:50

0 Answers0