Add on-base percentage and slugging percentage for the popular OPS metric.
OPS = OBP + SLG. OBP = (H+BB+HBP) ÷ (AB+BB+HBP+SF); SLG = total bases ÷ AB.