An object of class `PubChemModelMatrix` with `x`, `y`, and metadata fields.
Arguments
x
Input table or `PubChemResult`.
outcome
Optional outcome column name.
id_cols
Identifier columns excluded from predictors.
na_fill
Optional numeric value used to fill missing predictor values.
scale
Logical; center and scale predictor matrix.
Details
Non-numeric predictors are coerced when feasible, then filtered to numeric
columns only. The returned object stores predictors, optional response, and
identifier columns.