View source: R/score_aggregation.R
worst_score | R Documentation |
This function enables comparison of the results of two scoring functions by just basing the decision on the largest element. This corresponds to the infinity-norm in ML terms.
worst_score(scores, na.rm = FALSE, ...)
scores |
A score or multiple component score vector |
na.rm |
Boolean. Should NA values be ignored when obtaining the maximum? FALSE by default as ignoring NA values may hide some issues with the provided scoring functions and also the aggregated value cannot be seen as the proper infinity norm anymore. |
... |
Parameters to be ignored by this aggregation function |
The aggregated score, i.e. the value of the largest element in a multiple-component score vector.
worst_score(c(3, 2, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.