as_pipeline_list | R Documentation |
convert a benchmark_tbl to a list where the name of the elements represent the pipeline steps separated by "..". This can be useful for using the apply family of functions.
as_pipeline_list(x)
x |
the benchmark_tbl object to convert |
list containing the results with names set to data and pipeline steps separated by ..
collapse_pipeline
# list of data
datasets <- list(
set1 = rnorm(500, mean = 2, sd = 1),
set2 = rnorm(500, mean = 1, sd = 2)
)
# list of functions
add_noise <- list(
none = identity,
add_bias = function(x) { x + 1 }
)
res <- apply_methods(datasets, add_noise)
as_pipeline_list(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.