Binary-class
or Show-class
just for S3. This is inteded to be used with retList
.# S3 method for Print
print(x, ...)# S3 method for Infix
+(e1, e2)
# S3 method for Infix
-(e1, e2)
# S3 method for Infix
/(e1, e2)
# S3 method for Infix
%%(e1, e2)
# S3 method for Infix
^(e1, e2)
# S3 method for Infix
<(e1, e2)
# S3 method for Infix
>(e1, e2)
# S3 method for Infix
==(e1, e2)
# S3 method for Infix
>=(e1, e2)
# S3 method for Infix
<=(e1, e2)
# S3 method for Infix
&(e1, e2)
# S3 method for Infix
!(x)
# S3 method for Infix
as.environment(x)
as.environment
and in that environment the binary operators must be found and named as .<binaryOperator>
(see the example for retList
). This is implemented for the following operators: +, -, *, /, %%, ^, <, >, ==, >=, <=, &
. Also part of the operators you can implement with Infix is !
, although it is unary.