plot_improvement_stats {mistyR} | R Documentation

## Plot observed performance and improvement per target

### Description

Generates a plot of the mean (+- standard deviation) of the performance value per target across all samples from the results.

### Usage

    plot_improvement_stats(
      misty.results,
      measure = c("gain.R2", "multi.R2", "intra.R2", "gain.RMSE", "multi.RMSE",
        "intra.RMSE"),
      trim = -Inf
    )

### Arguments

`misty.results` | a results list generated by `collect_results()`.
`measure` | performance measure to be plotted (See `collect_results()`).
`trim` | display targets with performance value above (if R2 or gain) or below (otherwise) this value only.

### Value

The `misty.results` list (invisibly).

### See Also

`collect_results()` to generate a results list from raw results.

Other plotting functions: `plot_contrast_heatmap()`, `plot_contrast_results()`, `plot_interaction_communities()`, `plot_interaction_heatmap()`, `plot_view_contributions()`

### Examples

    all.samples <- list.dirs("results", recursive = FALSE)

    collect_results(all.samples) %>% plot_improvement_stats()

    misty.results <- collect_results(all.samples)
    misty.results %>% plot_improvement_stats(measure = "gain.RMSE")
    misty.results %>% plot_improvement_stats(measure = "intra.R2")

[Package mistyR version 1.2.1 Index]