目录

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
关于

提供R语言中操作符相关工具函数

103.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号