Create ch7-capabilityanalysis.R