Make d3_scale_linearTickFormat handle formats specifiers "r" and "p".