unary_ops: Unary function wrappers

unary_opsR Documentation

Unary function wrappers

Description

The functions here are used in combination with ProcessGraphParameter and ProcessNode and facilitate writing arithmetic functions for openEO user defined processes in R. The functions translate into their openEO processes counterparts.

Usage

## S3 method for class 'ProcessNode'
abs(x)

## S3 method for class 'ProcessGraphParameter'
abs(x)

## S3 method for class 'ProcessNode'
sign(x)

## S3 method for class 'ProcessGraphParameter'
sign(x)

## S3 method for class 'ProcessNode'
sqrt(x)

## S3 method for class 'ProcessGraphParameter'
sqrt(x)

## S3 method for class 'ProcessNode'
trunc(x, ...)

## S3 method for class 'ProcessGraphParameter'
trunc(x, ...)

## S3 method for class 'ProcessNode'
floor(x)

## S3 method for class 'ProcessGraphParameter'
floor(x)

## S3 method for class 'ProcessNode'
ceiling(x)

## S3 method for class 'ProcessGraphParameter'
ceiling(x)

## S3 method for class 'ProcessNode'
round(x, digits = 0)

## S3 method for class 'ProcessGraphParameter'
round(x, digits = 0)

## S3 method for class 'ProcessNode'
exp(x)

## S3 method for class 'ProcessGraphParameter'
exp(x)

## S3 method for class 'ProcessNode'
log(x, base = exp(1))

## S3 method for class 'ProcessGraphParameter'
log(x, base = exp(1))

log10.ProcessNode(x)

log10.ProcessGraphParameter(x)

## S3 method for class 'ProcessNode'
cos(x)

## S3 method for class 'ProcessGraphParameter'
cos(x)

## S3 method for class 'ProcessNode'
sin(x)

## S3 method for class 'ProcessGraphParameter'
sin(x)

## S3 method for class 'ProcessNode'
tan(x)

## S3 method for class 'ProcessGraphParameter'
tan(x)

## S3 method for class 'ProcessNode'
cosh(x)

## S3 method for class 'ProcessGraphParameter'
cosh(x)

## S3 method for class 'ProcessNode'
sinh(x)

## S3 method for class 'ProcessGraphParameter'
sinh(x)

## S3 method for class 'ProcessNode'
tanh(x)

## S3 method for class 'ProcessGraphParameter'
tanh(x)

## S3 method for class 'ProcessNode'
acos(x)

## S3 method for class 'ProcessGraphParameter'
acos(x)

## S3 method for class 'ProcessNode'
asin(x)

## S3 method for class 'ProcessGraphParameter'
asin(x)

## S3 method for class 'ProcessNode'
atan(x)

## S3 method for class 'ProcessGraphParameter'
atan(x)

## S3 method for class 'ProcessNode'
acosh(x)

## S3 method for class 'ProcessGraphParameter'
acosh(x)

## S3 method for class 'ProcessNode'
asinh(x)

## S3 method for class 'ProcessGraphParameter'
asinh(x)

## S3 method for class 'ProcessNode'
atanh(x)

## S3 method for class 'ProcessGraphParameter'
atanh(x)

## S3 method for class 'ProcessNode'
cumsum(x)

## S3 method for class 'ProcessGraphParameter'
cumsum(x)

## S3 method for class 'ProcessNode'
cummin(x)

## S3 method for class 'ProcessGraphParameter'
cummin(x)

## S3 method for class 'ProcessNode'
cummax(x)

## S3 method for class 'ProcessGraphParameter'
cummax(x)

## S3 method for class 'ProcessNode'
cumprod(x)

## S3 method for class 'ProcessGraphParameter'
cumprod(x)

## S3 method for class 'ProcessGraphParameter'
x[i, ..., drop = TRUE]

## S3 method for class 'ProcessNode'
!x

## S3 method for class 'ProcessGraphParameter'
!x

## S3 method for class 'ProcessNode'
quantile(x, ...)

## S3 method for class 'ProcessGraphParameter'
quantile(x, ...)

Arguments

x

ProcessGraphParameter, ProcessNode or a list or vector. Passes internal data to the function

...

further arguments to pass on, see the documentation of primitive functions of R for further information

digits

the amount of decimal digits to round to

base

the base of the exponential operation

i

the index of the element in a vector or list

drop

listed for completeness but not used in openEO processes.

Value

a ProcessNode


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