outcome_name: Get the name of the last column

outcome_nameR Documentation

Get the name of the last column

Description

Get the name of the last column

Usage

outcome_name(x)

Arguments

x

tabular data.

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.

Value

Name of the last column.

Author(s)

EDG

Examples

outcome_name(iris)

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