Learn R Programming

ganalytics (version 0.10.7)

Comparator: Comparator

Description

Get the comparator used in an expression or create a comparator object.

Set the comparator of an expression.

Usage

Comparator(object, ...)

Comparator(object) <- value

# S4 method for .expr Comparator(object)

# S4 method for .expr Comparator(object) <- value

Arguments

object

The object to be coerced to a '.comparator' subclass or the expression object of which to obtain its comparator.

...

Used by certain methods.

value

The value to set the comparator to.

Value

An object belonging to the superclass .comparator

Methods (by class)

  • .expr: Return the comparator used within the supplied conditional expression.

  • .expr: Replace the comparator of the supplied conditional expression.

See Also

Other comparator functions: comparators

Other comparator functions: comparators