formula.tools - Programmatic Utilities for Manipulating Formulas, Expressions, Calls, Assignments and Other R Objects
These utilities facilitate the programmatic manipulations of formulas, expressions, calls, assignments and other R language objects. These objects all share the same structure: a left-hand side, operator and right-hand side. This packages provides methods for accessing and modifying this structures as well as extracting and replacing names and symbols from these objects.
Last updated
9.22 score 17 stars 87 dependents 298 scripts 25k downloadsoperator.tools - Utilities for Working with R's Operators
Provides a collection of utilities that allow programming with R's operators. Routines allow classifying operators, translating to and from an operator and its underlying function, and inverting some operators (e.g. comparison operators), etc. All methods can be extended to custom infix operators.
Last updated
7.77 score 4 stars 91 dependents 39 scripts 28k downloadssticky - Persist Attributes Across Data Operations
In base R, object attributes are lost when objects are modified by common data operations such as subset, filter, slice, append, extract etc. This packages allows objects to be marked as 'sticky' and have attributes persisted during these operations or when inserted into or extracted from list-like or table-like objects.
Last updated
6.34 score 22 stars 3 dependents 22 scripts 634 downloadsbackpipe - Backward Pipe (Right-to-Left) Operator
Provides a backward-pipe operator for 'magrittr' (%<%) or 'pipeR' (%<<%) that allows for a performing operations from right-to-left. This allows writing more legible code where right-to-left ordering is natural. This is common with hierarchies and nested structures such as trees, directories or markup languages (e.g. HTML and XML). The package also includes a R-Studio add-in that can be bound to a keyboard shortcut.
Last updated
5.18 score 30 stars 4 scripts 374 downloadsordering - Test, Check, Verify, Investigate the Monotonic Properties of Vectors
Functions to test/check/verify/investigate the ordering of vectors. The 'is_[strictly_]*' family of functions test vectors for 'sorted', 'monotonic', 'increasing', 'decreasing' order; 'is_constant' and 'is_incremental' test for the degree of ordering. `ordering` provides a numeric indication of ordering -2 (strictly decreasing) to 2 (strictly increasing).
Last updated
2.93 score 1 stars 17 scripts 222 downloadscatcont - Test, Identify, Select and Mutate Categorical or Continuous Values
Methods and utilities for testing, identifying, selecting and mutating objects as categorical or continous types. These functions work on both atomic vectors as well as recursive objects: data.frames, data.tables, tibbles, lists, etc..
Last updated
2.70 score 1 stars 4 scripts 497 downloads