Package: santoku 1.0.0

santoku: A Versatile Cutting Tool

A tool for cutting data into intervals. Allows singleton intervals. Always includes the whole range of data by default. Flexible labelling. Convenience functions for cutting by quantiles etc. Handles dates, times, units and other vectors.

Authors:David Hugh-Jones [aut, cre], Daniel Possenriede [ctb]

santoku_1.0.0.tar.gz
santoku_1.0.0.zip(r-4.5)santoku_1.0.0.zip(r-4.4)santoku_1.0.0.zip(r-4.3)
santoku_1.0.0.tgz(r-4.4-x86_64)santoku_1.0.0.tgz(r-4.4-arm64)santoku_1.0.0.tgz(r-4.3-x86_64)santoku_1.0.0.tgz(r-4.3-arm64)
santoku_1.0.0.tar.gz(r-4.5-noble)santoku_1.0.0.tar.gz(r-4.4-noble)
santoku_1.0.0.tgz(r-4.4-emscripten)santoku_1.0.0.tgz(r-4.3-emscripten)
santoku.pdf |santoku.html
santoku/json (API)
NEWS

# Install 'santoku' in R:
install.packages('santoku', repos = c('https://hughjonesd.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/hughjonesd/santoku/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

8.25 score 136 stars 1 packages 102 scripts 2.1k downloads 56 exports 7 dependencies

Last updated 6 months agofrom:08a5b9ff80 (on cran-1.0.0). Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-win-x86_64OKNov 01 2024
R-4.5-linux-x86_64OKNov 01 2024
R-4.4-win-x86_64OKNov 01 2024
R-4.4-mac-x86_64OKNov 01 2024
R-4.4-mac-aarch64OKNov 01 2024
R-4.3-win-x86_64OKNov 01 2024
R-4.3-mac-x86_64OKNov 01 2024
R-4.3-mac-aarch64OKNov 01 2024

Exports:brk_defaultbrk_equallybrk_evenlybrk_fnbrk_manualbrk_mean_sdbrk_nbrk_prettybrk_proportionsbrk_quantilesbrk_widthchopchop_decileschop_equallychop_evenlychop_fnchop_mean_sdchop_nchop_prettychop_proportionschop_quantileschop_widthexactlyfilletis.breakskirulbl_dashlbl_discretelbl_endpointlbl_endpointslbl_gluelbl_intervalslbl_manuallbl_midpointslbl_seqpercentsantoku_cast_common.Datesantoku_cast_common.defaultsantoku_cast_common.doublesantoku_cast_common.hexmodesantoku_cast_common.integer64santoku_cast_common.octmodesantoku_cast_common.POSIXctsantoku_cast_common.tssantoku_cast_common.zootabtab_decilestab_equallytab_evenlytab_fntab_mean_sdtab_ntab_prettytab_proportionstab_quantilestab_width

Dependencies:assertthatcligluelifecycleRcpprlangvctrs

Introduction to santoku

Rendered fromsantoku.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2022-11-14
Started: 2019-08-30

What's new in santoku 0.9.0

Rendered fromwhats-new-in-0-9-0.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2022-11-01
Started: 2022-11-01

Readme and manuals

Help Manual

Help pageTopics
A versatile cutting tool for Rsantoku-package santoku
Class representing a set of intervalsbreaks-class format.breaks is.breaks print.breaks
Create a standard set of breaksbrk_default
Create a 'breaks' object manuallybrk_manual
Equal-width intervals for dates or datetimesbrk_width-for-datetime brk_width.Duration
Cut data into intervalschop kiru tab
Chop equal-sized groupsbrk_equally chop_equally tab_equally
Chop into equal-width intervalsbrk_evenly chop_evenly tab_evenly
Chop using an existing functionbrk_fn chop_fn tab_fn
Chop by standard deviationsbrk_mean_sd chop_mean_sd tab_mean_sd
Chop into fixed-sized groupsbrk_n chop_n tab_n
Chop using pretty breakpointsbrk_pretty chop_pretty tab_pretty
Chop into proportions of the range of xbrk_proportions chop_proportions tab_proportions
Chop by quantilesbrk_quantiles chop_deciles chop_quantiles tab_deciles tab_quantiles
Chop into fixed-width intervalsbrk_width brk_width.default chop_width tab_width
Define singleton intervals explicitlyexactly
Chop data precisely (for programmers)fillet
Label chopped intervals like 1-4, 4-5, ...lbl_dash
Label discrete datalbl_discrete
Label chopped intervals by their left or right endpointslbl_endpoint lbl_endpoints
Label chopped intervals using the 'glue' packagelbl_glue
Label chopped intervals using set notationlbl_intervals
Label chopped intervals by their midpointslbl_midpoints
Label chopped intervals in sequencelbl_seq
Tips for chopping non-standard typesnon-standard-types
Simple percentage formatterpercent