Skip to content

decisionpatterns/operator.tools

Repository files navigation

operator.tools

Utilities for working with R's operators

CRAN_Status_Badge License Downloads software impact

This package provides an extensible collection of utilities for programming with operators that appear in language objects such as formulas, calls and expressions. Various routines allow operations classifying operators, translating between an operator and its underlying function, and inverting some types of operators, etc. All methods can be extended to custom infix operators.

Installation

Stable Version

install.packages('formula.tools')

Development Verison

devtools::install_github("decisionpatterns/formula.tools")

Important Functions

  • operators: Get list of known operators
  • setOperator: Register a new type of operator
    • removeOperator: UNregister an operator
  • is.operator: Test if object is an operator
  • can.operator: Can object be coerced to an operator
  • as.operator: Coerce object to an operator if possible
  • operator.type: get the type of an operator

About

Utilities for working with R's operators

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages