| numeric_features | R Documentation |
Returns the numeric columns among the features (all columns except the last).
numeric_features(x)
x |
tabular data: Input data to get numeric features from. |
Mirrors features(): by rtemis convention the last column is the outcome
variable and all other columns are features. This drops the outcome, then keeps
the numeric features (both double and integer). Useful, for example, to feed only
the continuous features to a decomposition: decomp(numeric_features(iris), ...).
Object of the same class as the input, containing only the numeric feature columns.
EDG
numeric_features(iris) |> head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.