Learn R Programming

irace (version 4.1)

has_testing_data: Check if the results object generated by irace has data about the testing phase.

Description

Check if the results object generated by irace has data about the testing phase.

Usage

has_testing_data(iraceResults)

Value

logical(1)

Arguments

iraceResults

list()|character(1)
Object created by irace and typically saved in the log file irace.Rdata. If a character string is given, then it is interpreted as the path to the log file from which the iraceResults object will be loaded.

Examples

Run this code
irace_results <- read_logfile(system.file("exdata/irace-acotsp.Rdata", package="irace",
                                          mustWork=TRUE))
print(has_testing_data(irace_results))

Run the code above in your browser using DataLab