Package: kit 0.0.19

Morgan Jacob

kit: Data Manipulation Functions Implemented in C

Basic functions, implemented in C, for large data manipulation. Fast vectorised ifelse()/nested if()/switch() functions, psum()/pprod() functions equivalent to pmin()/pmax() plus others which are missing from base R. Most of these functions are callable at C level.

Authors:Morgan Jacob [aut, cre, cph], Sebastian Krantz [ctb]

kit_0.0.19.tar.gz
kit_0.0.19.tar.gz(r-4.5-noble)kit_0.0.19.tar.gz(r-4.4-noble)
kit_0.0.19.tgz(r-4.4-emscripten)kit_0.0.19.tgz(r-4.3-emscripten)
kit.pdf |kit.html
kit/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/2005m/kit/issues

Uses libs:
  • openmp– GCC OpenMP (GOMP) support library

5.16 score 5 packages 86 scripts 2.8k downloads 42 mentions 31 exports 0 dependencies

Last updated 3 months agofrom:a71bf9042e. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-linux-x86_64OKNov 07 2024

Exports:charToFactclearDatacountcountNAcountOccurfduplicatedfposfuniquegetDataiifnifnswitchpallpallNApallvpanypanyNApanyvpcountpcountNApfirstplastpmeanpprodpsortpsumsetlevelsshareDatatopnuniqLenvswitch

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Convert Character Vector to FactorcharToFact
count, countNA and countOccurcount countNA countOccur
Fast duplicated and uniquefduplicated funique uniqLen
Find a matrix position inside a larger matrixfpos
Fast if elseiif
Nested if elsenif
Parallel (Statistical) Functionspall pallNA pallv pany panyNA panyv pcount pcountNA pfirst plast pmean pprod psum
Parallel Sortpsort
Set levels of a factor objectsetlevels
Share Data between R SessionsclearData getData shareData
Top N values indextopn
Vectorised switchnswitch vswitch