Learn R Programming

mlr (version 2.17.0)

simplifyMeasureNames: Simplify measure names.

Description

Clips aggregation names from character vector. E.g: 'mmce.test.mean' becomes 'mmce'. Elements that don't contain a measure name are ignored and returned unchanged.

Usage

simplifyMeasureNames(xs)

Arguments

xs

(character) Character vector that (possibly) contains aggregated measure names.

Value

(character).