Description Usage Arguments Value See Also Examples
View source: R/loading_functions.R
This function reads the data from a files where two or more algorithms are compared in different problems. The file can have some columns that characterize the problem and one column per algorithm. If each row contain only the result obtained by one algorithm, use the readExperimentFile
function.
1 | readComparisonFile(file, alg.cols, col.names = NULL, ...)
|
file |
Path of the file to load |
alg.cols |
A vector column names or indices inicating which columns contain the results. The rest are assumed as descriptors of the problems |
col.names |
Vector of names of the columns. If not NULL, the files are assumed not to have a header and the columns are named using this vector |
... |
Additional parameters for the read.csv function used to load the data. It can be used, for example, to set the separator (e.g., |
A data.frame where each column represents either a feature of the experiment or the result of running an algorithm. Algorithm columns are placed always at the end of the table.
readExperimentFile
, readExperimentDir
, readComparisonDir
and the vignette vignette(topic="Data_loading_and_manipulation", package="scmamp")
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.