View source: R/score_aggregation.R
sum_scores | R Documentation |
Aggregation of scores: sum up all individual scores
sum_scores(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 render the sum meaningless. |
... |
Parameters to be ignored by this aggregation function |
The aggregated score, i.e. the sum of all indicidual scores.
sum_scores(c(3, 2, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.