Learn R Programming

mlr (version 2.19.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)

Value

(character).

Arguments

xs

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