Learn R Programming

rtemis (version 1.4.3)

feature_names: Get feature names

Description

Returns all column names except the last one

Usage

feature_names(x)

Value

Character vector of feature names.

Arguments

x

tabular data.

Author

EDG

Details

This 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.

Examples

Run this code
feature_names(iris)

Run the code above in your browser using DataLab