processing_template: Stores a template for processing of 'collection' objects

Description Usage Arguments Value Examples

View source: R/processing_template.R

Description

Processing steps specification are stored in a template object. This will be typically handled internally.

Usage

1
2
3
4
5
6
7
processing_template(...)

## Default S3 method:
processing_template(...)

## S3 method for class 'processing_template'
tidy(x, ...)

Arguments

...

further arguments passed to or from other methods(not currenctly used).

x

A processing_stepobject

Value

A list-like object storing processing steps.

A tibble representation of x

Examples

1
2
3
4
5
6
7
8
library(tidySpectR)

# Creating a masking step
template <- processing_template() %>%
            new_step(mask, list(from = 5, to = Inf), name = "mask") %>%
            new_step(bucket_uniform, list(N = 10), name = "bucket") 

tidy(template)

CVUA-RRW/tidySpectR documentation built on April 13, 2021, 11:41 a.m.