implicit r calculation