predx objects (e.g. a column in a data frame containing a variety of predx objects)to_predx.RdThis function converts a data.frame or list of data frames (with appropriate columns and/or attributes as required for each predx class) and a vector of predx class names to a list of predx objects with (hopefully helpful) errors should any conversions fail.
to_predx(x, class)
| x | A list of data.frames. |
|---|---|
| class | A character vector of |
A list of predx objects with error messages for failed conversions.