View source: R/parallel_coord.R
plot_configurations | R Documentation |
Parallel coordinates plot of a set of provided configurations. Each line in the plot represents a configuration. The parameters to be included in the plot can be selected with the param_names argument. Additionally, the maximum number of parameters to be displayed in one plot. A list of plots is returned by this function in several plots are required to display the selected data.
plot_configurations(
configurations,
parameters,
param_names = parameters$names,
by_n_param = NULL,
filename = NULL
)
configurations |
Data frame, configurations in |
parameters |
( |
param_names |
( |
by_n_param |
Numeric (optional), maximum number of parameters to be displayed |
filename |
( |
To export the plot to a file, it is possible to do it so manually using the
functionality provided by plotly
(https://plotly-r.com/exporting-static-images). If a filename is provided,
orca server will be used to export the plots and thus, it requires the
library to be installed (https://github.com/plotly/orca).
parallel coordinates plot
iraceResults <- read_logfile(system.file(package="irace", "exdata",
"irace-acotsp.Rdata", mustWork = TRUE))
parameters <- iraceResults$scenario$parameters
plot_configurations(iraceResults$allConfigurations[iraceResults$iterationElites,],
parameters = parameters)
plot_configurations(iraceResults$allConfigurations[iraceResults$iterationElites,],
parameters = parameters,
param_names = c("algorithm", "alpha", "rho", "q0", "rasrank"))
plot_configurations(iraceResults$allConfigurations[iraceResults$iterationElites,],
parameters = parameters, by_n_param = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.