getLoggedValues {smoof} | R Documentation |
Extract logged values of a function wrapped by a logging wrapper.
Description
Extract logged values of a function wrapped by a logging wrapper.
Usage
getLoggedValues(fn, compact = FALSE)
Arguments
fn |
[ |
compact |
[ |
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
[Package smoof version 1.6.0.3 Index]