scale_data: Scale Data

Description Usage Arguments Value

Description

We subtract 1 from the data frame as the data set MUST always have a trailing column that contains labelled match data with 'W / D / L' etc. Also, one feature is not permitted, so total.results must therefore have 3 or more columns.

Usage

1
scale_data(total.results, cLabel = "res")

Arguments

total.results

A data frame with multiple columns, each one containing a feature, and a final row with labelled results i.e. 'W / D / L'.

cLabel

A character vector that defines what row the classes belong to, usually called 'res'.

Value

A list object with the following names :


ntyndall/mltools documentation built on June 5, 2019, 5:38 p.m.