binary_ops: Binary function wrappers

binary_opsR Documentation

Binary function wrappers

Description

The functions here are used in combination with ProcessGraphParameter and ProcessNode in order to make it easier to write arithmetic functions for openEO user defined processes in R. The functions map into their openEO processes counterparts.

Usage

## S3 method for class 'ProcessNode'
e1 + e2

## S3 method for class 'ProcessGraphParameter'
e1 + e2

## S3 method for class 'ProcessNode'
e1 - e2

## S3 method for class 'ProcessGraphParameter'
e1 - e2

## S3 method for class 'ProcessNode'
e1 * e2

## S3 method for class 'ProcessGraphParameter'
e1 * e2

## S3 method for class 'ProcessNode'
e1 / e2

## S3 method for class 'ProcessGraphParameter'
e1 / e2

## S3 method for class 'ProcessNode'
e1 ^ e2

## S3 method for class 'ProcessGraphParameter'
e1 ^ e2

## S3 method for class 'ProcessNode'
e1 %% e2

## S3 method for class 'ProcessGraphParameter'
e1 %% e2

## S3 method for class 'ProcessNode'
e1 & e2

## S3 method for class 'ProcessGraphParameter'
e1 & e2

## S3 method for class 'ProcessNode'
e1 | e2

## S3 method for class 'ProcessGraphParameter'
e1 | e2

xor.ProcessNode(x, y)

xor.ProcessGraphParameter(x, y)

## S3 method for class 'ProcessNode'
e1 == e2

## S3 method for class 'ProcessGraphParameter'
e1 == e2

## S3 method for class 'ProcessNode'
e1 != e2

## S3 method for class 'ProcessGraphParameter'
e1 != e2

## S3 method for class 'ProcessNode'
e1 < e2

## S3 method for class 'ProcessGraphParameter'
e1 < e2

## S3 method for class 'ProcessNode'
e1 <= e2

## S3 method for class 'ProcessGraphParameter'
e1 <= e2

## S3 method for class 'ProcessNode'
e1 >= e2

## S3 method for class 'ProcessGraphParameter'
e1 >= e2

## S3 method for class 'ProcessNode'
e1 > e2

## S3 method for class 'ProcessGraphParameter'
e1 > e2

Arguments

e1

ProcessGraphParameter, ProcessNode or a list or vector, which internal data is passed into the function or a numeric value

e2

same as e1

x

the first expression in the xor statement

y

the second expression in the xor statement

Value

a ProcessNode


openeo documentation built on Nov. 17, 2022, 5:07 p.m.