switch p and r on the PR curves