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:
- Extractors - Extract indices or values from the front or the rear of a vector
- Insiders & Outsiders - Determine whether values in a vector are inside or outside a specific range and/or exctract those values
- Counters - Automatically increment a value or a numerical object (e.g. in a while loop)
- Padders & Trimmers - Padd or Trim the front and/or rear of a vector
- Regressors - Perform simple polynomial regression on vectors
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.