.get_reserved_operator {contrastable}R Documentation

Check for reserved operators

Description

A helper for .make_parameters(), which takes a symbol and checks whether it corresponds to one of the reserved operators for the package syntax.

Usage

.get_reserved_operator(node)

Arguments

node

A symbol, extracted from a formula

Value

If node is a reserved operator, then return the operator as a string. Otherwise return the string "none".


[Package contrastable version 1.0.2 Index]