Package: kit 0.0.18

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.18.tar.gz
kit_0.0.18.zip(r-4.5)kit_0.0.18.zip(r-4.4)kit_0.0.18.zip(r-4.3)
kit_0.0.18.tgz(r-4.4-arm64)kit_0.0.18.tgz(r-4.4-x86_64)kit_0.0.18.tgz(r-4.3-arm64)kit_0.0.18.tgz(r-4.3-x86_64)
kit_0.0.18.tar.gz(r-4.5-noble)kit_0.0.18.tar.gz(r-4.4-noble)
kit_0.0.18.tgz(r-4.4-emscripten)kit_0.0.18.tgz(r-4.3-emscripten)
kit.pdf |kit.html
kit/json (API)
NEWS

# Install kit in R:
install.packages('kit', repos = c('https://fastverse.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

On CRAN:

31 exports 56 stars 4.17 score 0 dependencies 12 dependents 3.1k downloads

Last updated 10 days agofrom:658f135d231b8664f4022339720ccc4443864b8e

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