Description Usage Arguments Value
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.
1 | scale_data(total.results, cLabel = "res")
|
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'. |
A list object with the following names :
data : The scaled form of total.results
scaler : Another list object containing the scales used to create 'data'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.