Description Usage Arguments Examples
View source: R/processing_template.R
Applies a processing_step
on a collection
object
Process a collection
object
Applies a processing_template
on a collection
object
1 2 3 4 5 6 7 | ## S3 method for class 'processing_step'
process(x, collection, ...)
process(...)
## S3 method for class 'processing_template'
process(x, collection, verbose = FALSE, ...)
|
x |
A |
collection |
a |
... |
further arguments passed to or from other methods(not currenctly used). |
verbose |
Set to TRUE to show progress |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | library(tidySpectR)
# Creating a masking step
stp <-
processing_step(
fun = mask,
arglist = list(from = 5, to = Inf),
type = "masking",
name = "masking")
process(stp, fa_nmr)
library(tidySpectR)
template <- processing_template() %>%
new_step(mask, list(from = 5, to = Inf), name = "mask") %>%
new_step(bucket_uniform, list(N = 10), name = "bucket")
process(template, fa_nmr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.