as.data.frame.OptPathDF {ParamHelpers} | R Documentation |
Convert optimization path to data.frame.
Description
The following types of columns are created:
x-numeric(vector) | numeric |
x-integer(vector) | integer |
x-discrete(vector) | factor (names of values = levels) |
x-logical(vector) | logical |
y-columns | numeric |
dob | integer |
eol | integer |
error.message | character |
exec.time | numeric |
extra-columns | any |
If you want to convert these, look at BBmisc::convertDataFrameCols()
.
Dependent parameters whose constraints are unsatisfied generate NA
entries
in their respective columns. Factor columns of discrete parameters always
have their complete level set from the param.set
.
Usage
## S3 method for class 'OptPathDF'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
include.x = TRUE,
include.y = TRUE,
include.rest = TRUE,
dob = x$env$dob,
eol = x$env$eol,
...
)
Arguments
x |
( |
row.names |
character |
optional |
(any) |
include.x |
( |
include.y |
( |
include.rest |
( |
dob |
integer |
eol |
integer |
... |
(any) |