predx objects to a target predx class.transform_predx.RdTransform a predx objects to a target predx class.
transform_predx(x, to_class, ...) # S4 method for list transform_predx(x, to_class, ...)
| x | a |
|---|---|
| to_class | character specifying |
| cat | if to_class is "BinCat", character vector of categorical bin names |
| lwr | if to_class is "BinLwr", numeric vector of lower bounds for bins |
A predx object or list of predx objects, with NAs and warning messages for failed conversions.
This function converts a predx object or list of predx
objects to another specified predx class when possible.