Nonlinear Coefficient of Determination Using `feature_data` Objects
rsquared.RdEstimates the nonlinear R2 from a machine learning model compared to a `feature_data` object.
Arguments
- object
A `feature_data` object.
- ...
Additional arguments (currently not used).
- model
A fitted model object.
- subset
Subset of the `preproc` data set.
- prep
Character argument if transformed data ("transform"), scaled data ("scale" ), transformed and scaled data ("both") or original raw data ("none") will be returned.