R/OptPathDF_as_data_frame.R
as.data.frame.OptPathDF.RdThe 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.
# S3 method for 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, ... )
| x | ( |
|---|---|
| row.names | character |
| optional | (any) |
| include.x | ( |
| include.y | ( |
| include.rest | ( |
| dob | integer |
| eol | integer |
| ... | (any) |