This PR adds the "headtails" method to classIntervals (#20 ). I included some examples on man, see how the example renders here:
https://rpubs.com/dieghernan/classIntervals
A change has been made over the standalone function: now breaks initalises with min(var, na.rm = TRUE) instead of NULL. Doing this, the breaks vector inherits units if applicable, and "headtails" works well when units are passed (this can be seen on the examples).
Good morning:
This PR adds the "headtails" method to
classIntervals
(#20 ). I included some examples on man, see how the example renders here: https://rpubs.com/dieghernan/classIntervalsA change has been made over the standalone function: now
breaks
initalises withmin(var, na.rm = TRUE)
instead ofNULL
. Doing this, thebreaks
vector inheritsunits
if applicable, and "headtails" works well whenunits
are passed (this can be seen on the examples).A vignette is coming on the next weeks, I would use this as starting point: https://r-spatial.github.io/spdep/articles/CO69.html
As an additional question, would you consider including myself as a ctb of the package?