
Summarize a default set of assessments into a single risk score
Source:R/summarize_scores.R
summarize_scores.Rd
This function serves as an example for how a risk score might be derived.
Assuming all assessments provided by riskmetric
are available in a
dataset, this function can be used to calculate a vector of risks.
Arguments
- data
a
tibble
of scored assessments whose column names match those provided by riskmetric'spkg_assess
function.- weights
an optional vector of non-negative weights to be assigned to each assessment.