plotElapsed {pipeComp} | R Documentation |
Plot total elapsed time per run, split per step.
plotElapsed( res, steps = names(res$elapsed$stepwise), agg.by, agg.fn = mean, width = 0.9, split.datasets = TRUE, return.df = FALSE )
res |
Aggregated pipeline results |
steps |
The step(s) to plot (default all) |
agg.by |
The parameters by which to aggregate (set to FALSE to disable aggregation) |
agg.fn |
Aggregation function |
width |
Width of the bar; default 0.9, use 1 to remove the gaps |
split.datasets |
Logical; whether to split the datasets into facets |
return.df |
Logical; whether to return the data.frame instead of plot |
A ggplot, or a data.frame if 'return.df=TRUE'
data("exampleResults", package="pipeComp") plotElapsed(exampleResults, agg.by = "norm")