features: Get features from tabular data

featuresR Documentation

Get features from tabular data

Description

Returns all columns except the last one.

Usage

features(x)

Arguments

x

tabular data: Input data to get features from.

Details

This can be applied to tabular datasets used for supervised learning in rtemis, where, by convention, the last column is the outcome variable and all other columns are features.

Value

Object of the same class as the input, after removing the last column.

Author(s)

EDG

Examples

features(iris) |> head()

rtemis documentation built on Oct. 20, 2026, 1:06 a.m.