This spreadsheet containing dummy data sets out the way we have calculated the R values used in the weighted average price cap.