Aggregation of scores: sum up all individual scores

sum_scores(scores, na.rm = FALSE, ...)

Arguments

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 render the sum meaningless.

...

Parameters to be ignored by this aggregation function

Value

The aggregated score, i.e. the sum of all indicidual scores.

Examples

sum_scores(c(3, 2, 1))
#> [1] 6