Sayani07/gghdr

Add hdr_bin() to convert a continuous variable into discrete hdr areas

Closed this issue · 2 comments

Used to create the coloured scatterplot.

ggplot(data, aes(x, y, colour = hdr_bin(x, y)) + 
  geom_point()

This may also need to support multivariate high density regions.

hdr_bin <- function(x, y, prob, ...){

}

Done