getLoggedValues: Extract logged values of a function wrapped by a logging...

Description Usage Arguments Value See Also

View source: R/getLoggedValues.R

Description

Extract logged values of a function wrapped by a logging wrapper.

Usage

1
getLoggedValues(fn, compact = FALSE)

Arguments

fn

[wrapped_smoof_function]
Wrapped smoof function.

compact

[logical(1)]
Wrap all logged values in a single data frame? Default is FALSE.

Value

[list || data.frame] If compact is TRUE, a single data frame. Otherwise the function returns a list containing the following values:

pars

Data frame of parameter values, i.e., x-values or the empty data frame if x-values were not logged.

obj.vals

Numeric vector of objective vals in the single-objective case respectively a matrix of objective vals for multi-objective functions.

See Also

addLoggingWrapper


smoof documentation built on May 20, 2017, 5:35 a.m.

Search within the smoof package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.