What I meant was that yours and Cool_Hand's CRP's seem to assume a recovery factor of 0.8 when calculating sensed RR. Using the formula with a k=0.8 you get Cool_Hand's figures.
You've used a recovery factor of 1.0 in your formula, that's why you get the difference.
My CRP assumes a recovery factor of 1.0.