CMD + K

r-arrapply

Anaconda Verified

High performance variant of apply() for a fixed set of functions. Considerable speedup of this implementation is a trade-off for universality: user defined functions cannot be used with this package. However, about 20 most currently employed functions are available for usage. They can be divided in three types: reducing functions (like mean(), sum() etc., giving a scalar when applied to a vector), mapping function (like normalise(), cumsum() etc., giving a vector of the same length as the input vector) and finally, vector reducing function (like diff() which produces result vector of a length different from the length of input vector). Optional or mandatory additional arguments required by some functions (e.g. norm type for norm()) can be passed as named arguments in '...'.

Installation

To install this package, run one of the following:

Conda
$conda install r::r-arrapply

Usage Tracking

2.2
2.1
2 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

High performance variant of apply() for a fixed set of functions. Considerable speedup of this implementation is a trade-off for universality: user defined functions cannot be used with this package. However, about 20 most currently employed functions are available for usage. They can be divided in three types: reducing functions (like mean(), sum() etc., giving a scalar when applied to a vector), mapping function (like normalise(), cumsum() etc., giving a vector of the same length as the input vector) and finally, vector reducing function (like diff() which produces result vector of a length different from the length of input vector). Optional or mandatory additional arguments required by some functions (e.g. norm type for norm()) can be passed as named arguments in '...'.

Last Updated

Jan 16, 2024 at 21:15

License

GPL-2

Total Downloads

363

Supported Platforms

linux-64

Unsupported Platforms

macOS-64 Last supported version: 2.1
win-64 Last supported version: 2.1