Summarise columns of a data.frame compared to a reference using the KS test.
summariseKS(data, ref, split.col, stat.cols)
data | The data.frame to summarise |
---|---|
ref | The reference data.frame |
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. |
data.frame with the summarised measure, scaled and ranked