Skip to contents

Parallel Statistical Functions

Vector-valued (statistical) functions operating in parallel over vectors passed as arguments, or a single list of vectors/data frame.

Vectorised and Nested Switches

Fast vectorized and nested switches.

iif()
Fast if else
nif()
Nested if else
vswitch() nswitch()
Vectorised switch

Sorting

Parallel sort for strings and partial sort (N largest/smallest).

psort()
Parallel Sort
topn()
Top N values index

Factors

Fast character to factor conversion and changing factor levels by reference.

charToFact()
Convert Character Vector to Factor
setlevels()
Set levels of a factor object

Unique Values and Counts

Fast duplicated and unique and count the number of times element(s) occur.

fduplicated() funique() uniqLen()
Fast duplicated and unique
count() countNA() countOccur()
count, countNA and countOccur

Miscellaneous

Find a matrix position inside a larger matrix and share data between R sessions.

fpos()
Find a matrix position inside a larger matrix
shareData() getData() clearData()
Share Data between R Sessions