Skip to content

santoku 1.1.0

Latest

Choose a tag to compare

@hughjonesd hughjonesd released this 11 Sep 19:56
  • Core logic has been speeded up using raw pointers. This was vibe-coded by me
    and Claude Code. If it breaks, please file a bug report.
  • The experimental chop_spikes() and dissect() functions give
    common values of x their own singleton intervals.
  • On Unicode platforms, infinity will be represented as ∞ in breaks. Set
    options(santoku.infinity = "Inf") to use the old behaviour.
  • Singleton breaks are not labelled specially by default in
    chop_quantiles(..., raw = FALSE). This means that e.g. if the 10th and 20th
    percentiles are both the same number, the label will still be [10%, 20%].
  • When multiple quantiles are the same, santoku warns and returns the leftmost
    quantile interval. Before it would merge the intervals, creating labels that
    might be different to what the user asked for.
  • chop_quantiles() gains a recalc_probs argument. recalc_probs = TRUE
    recalculates probabilities using ecdf(x), which may give more accurate
    interval labels.
  • single = NULL has been documented explicitly in lbl_* functions.
  • Bugfix: brk_manual() no longer warns if close_end = TRUE (the default).