Vector operations between grapes: An infix-only package! The 'invctr' functions perform common and less common operations on vectors, data frames matrices and list objects: - Extracting a value (range), or, finding the indices of a value (range). - Trimming, or padding a vector with a value of your choice. - Simple polynomial regression. - Set and membership operations. - General check & replace function for NAs, Inf and other values.
This package contains only infix
functions (grapes-function-grapes
), most of them shorten the syntax for common vector operations, such as finding indices and extracting values from vectors.
The main function classes are:
In addition, some infix functions for very specific tasks are provided, e.g., the rose tinted infix %00%
provides a means to deal with functions that return NA
, Inf
, NULL
or other error/exception values by turning them into a user specified value.