binary_ops {openeo}R 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


[Package openeo version 1.3.1 Index]