Summarise columns of a data.frame using a single measure.
summariseStats(data, split.col, stat.cols, measure = c("MAD", "MAE", "RMSE"))
data | The data.frame to summarise |
---|---|
split.col | Name of the column used to split the dataset |
stat.cols | Names of the columns to summarise. If this vector is named those names will be used in the output. |
measure | The measure to use for summarisation. |
data.frame with the summarised measure, scaled and ranked