sampling_pie: Sampling pie plot

Description Usage Arguments Value Examples

View source: R/sampling_pie.R

Description

The 'sampling_pie' function creates a pie plot of the values sampled of a set of selected parameters. Numerical parameters are discretized to maximum n_bins intervals.

The size of the slices are proportional to the number of configurations that have assigned a parameter value within the rank or the value assigned to that slice. Parameters can be selected by providing their names in the param_names argument.

Usage

1
sampling_pie(irace_results, param_names = NULL, n_bins = 3, file_name = NULL)

Arguments

irace_results

The data generated when loading the Rdata file created by irace

param_names

String vector, A set of parameters to be included (example: param_names = c("algorithm","dlb"))

n_bins

Numeric (default 3), number of intervals to generate for numerical parameters.

file_name

String, File name to save plot (example: "~/path/to/file_name.png")

Value

Sampling pie plot

Examples

1
2
sampling_pie(iraceResults)
sampling_pie(iraceResults, param_names = c("algorithm", "dlb", "ants"))

pabloOnate/iraceplot documentation built on Aug. 29, 2021, 2:32 a.m.