unary_ops: Unary function wrappers

Description Usage Arguments Value

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

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
## 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, which internal data is passed into the function

...

further arguments to pass on, see the documentation of those 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

for completenes listed here but not used in openEO processes

Value

a ProcessNode


flahn/openeo-r-client documentation built on Sept. 18, 2020, 5:16 a.m.