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 7 years ago
8.85 score 17 stars 77 packages 233 scripts 16k 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 years ago
7.17 score 4 stars 79 packages 20 scripts 16k downloadsoptigrab - Command-Line Parsing for an R World
Parse options from the command-line using a simple, clean syntax. It requires little or no specification and supports short and long options, GNU-, Java- or Microsoft- style syntaxes, verb commands and more.
Last updated 6 years ago
5.80 score 8 stars 39 scripts 158 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 5 years ago
5.58 score 21 stars 1 packages 12 scripts 936 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 6 years ago
5.18 score 30 stars 3 scripts 217 downloadsna.tools - Comprehensive Library for Working with Missing (NA) Values in Vectors
This comprehensive toolkit provide a consistent and extensible framework for working with missing values in vectors. The companion package 'tidyimpute' provides similar functionality for list-like and table-like structures). Functions exist for detection, removal, replacement, imputation, recollection, etc. of 'NAs'.
Last updated 6 years ago
4.02 score 2 stars 104 scripts 312 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 6 years ago
2.93 score 1 stars 17 scripts 151 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 6 years ago
2.70 score 1 stars 4 scripts 586 downloads