Learn R Programming

collector (version 0.1.3)

clean_answers: Clean extreme answers

Description

You may wish to apply some sanity checking bounds on the responses from subject matter experts. This function applies a set of predefined transformations to the scenario and capability responses. Review these assumptions carefully before using them in your own analysis.

Usage

clean_answers(scenario_answers, capability_answers)

Arguments

scenario_answers

Scenario answers dataframe.

capability_answers

Capability answers dataframe.

Value

A list of modified scenarios and capabilities.

Details

Make the following assumptions/modifications

  • minimum capacity is 5% (we've thought about it - 90% CI)

  • maximum capacity is 95% (we're just about the best - 90% CI)

  • minimum loss is 1000 dollars (both low and high)

  • scale all impact into thousands of dollars (make normal decomposition easier, and is in line of the scale of a strategic analysis)

  • set a minimum frequency of once per 10 years (0.1)

Examples

Run this code
# NOT RUN {
data(mc_capability_answers)
data(mc_scenario_answers)
clean_answers(mc_scenario_answers, mc_capability_answers)
# }

Run the code above in your browser using DataLab