This function enables comparison of the results of two scoring functions by calculating an L1 norm (Manhattan distance from origin).

L1_norm(scores, ...)

Arguments

scores

A score or multiple component score vector

...

Parameters to be ignored by this aggregation function

Value

The L1 norm as an aggregated score.

Examples

L1_norm(c(2, 2))
#> [1] 4