group_ops {openeo}R Documentation

Group operator wrappers

Description

R's mathematical group primitives that are translated to openEO processes.

Usage

## S3 method for class 'ProcessNode'
sum(..., na.rm = FALSE)

## S3 method for class 'ProcessGraphParameter'
sum(..., na.rm = FALSE)

## S3 method for class 'list'
sum(..., na.rm = FALSE)

## S3 method for class 'ProcessNode'
prod(..., na.rm = TRUE)

## S3 method for class 'ProcessGraphParameter'
prod(..., na.rm = TRUE)

## S3 method for class 'list'
prod(..., na.rm = TRUE)

## S3 method for class 'ProcessNode'
min(..., na.rm = TRUE)

## S3 method for class 'ProcessGraphParameter'
min(..., na.rm = TRUE)

## S3 method for class 'list'
min(..., na.rm = TRUE)

## S3 method for class 'ProcessNode'
max(..., na.rm = TRUE)

## S3 method for class 'ProcessGraphParameter'
max(..., na.rm = TRUE)

## S3 method for class 'list'
max(..., na.rm = TRUE)

## S3 method for class 'ProcessNode'
range(..., na.rm = TRUE)

## S3 method for class 'ProcessGraphParameter'
range(..., na.rm = TRUE)

## S3 method for class 'list'
range(..., na.rm = TRUE)

## S3 method for class 'ProcessNode'
mean(x, na.rm = FALSE, ...)

## S3 method for class 'ProcessGraphParameter'
mean(x, na.rm = FALSE, ...)

## S3 method for class 'list'
mean(x, na.rm = FALSE, ...)

## S3 method for class 'ProcessNode'
median(x, na.rm = FALSE, ...)

## S3 method for class 'ProcessGraphParameter'
median(x, na.rm = FALSE, ...)

## S3 method for class 'list'
median(x, na.rm = FALSE, ...)

sd.ProcessNode(x, na.rm = FALSE)

sd.ProcessGraphParameter(x, na.rm = FALSE)

sd.list(x, na.rm = FALSE)

var.ProcessNode(x, na.rm = FALSE)

var.ProcessGraphParameter(x, na.rm = FALSE)

var.list(x, na.rm = FALSE)

Arguments

...

multiple arguments that start with a ProcessNode or a ProcessGraphParameter

na.rm

logical to determine if NA values shall be removed in the calculation

x

a vector or list of values that are mixed or consist fully of ProcessNode, ProcessGraphParameter or numerical values

Details

The ... parameter is required to start with the ProcessNode or a ProcessGraphParameter that returns a numeric value. If it starts with a number the corresponding function in base R will be used, which will result in most cases in an error because base R cannot interprete the ProcessNode and ProcessGraphParameter objects. In that case you need to reorder the elements so that openeo's group operators will be used.

Value

ProcessNode


[Package openeo version 1.3.1 Index]