R: Plot of histogram of parameter values

parameterFrequency {irace} | R Documentation

## Plot of histogram of parameter values

### Description

`parameterFrequency` plots the frequency of the parameters values in a set of target algorithm configurations. It generates plots showing the frequency of parameter values for each parameter, with `rows` * `cols` parameters being shown per plot. If a filename is provided the plots are saved in one or more files.

### Usage

    parameterFrequency(configurations, parameters, rows = 4, cols = 3,
      filename = NULL, pdf.width = 12, col = "gray")

### Arguments

`configurations` | (`data.frame`) Parameter configurations of the target algorithm (one per row).
`parameters` | (`list()`) Data structure containing the parameter space definition. The data structure has to similar to the one returned by the function `readParameters`.
`rows` | Number of plots per column.
`cols` | Number of plots per row.
`filename` | Filename prefix to generate the plots. If `NULL` the plot displayed but not saved.
`pdf.width` | Width for the pdf file generated.
`col` | Color of the bar plot.

### Author(s)

Manuel López-Ibáñez and Leslie Pérez Cáceres

### See Also

`readParameters` to obtain a valid parameter structure from a parameters file. `readConfigurationsFile` to obtain a set of target algorithm configurations from a configurations file.

### Examples

     ## To use data obtained by irace

     # First, load the data produced by irace.
     irace.logfile <- file.path(system.file(package="irace"), "exdata", "irace-acotsp.Rdata")
     load(irace.logfile)
     attach(iraceResults)
     parameterFrequency(allConfigurations, parameters)

[Package irace version 3.4.1 Index]