powered by
Parse character ratio to double, e.g., 1/5 → 0.2
1/5
0.2
parse_ratio(ratio)
Numeric vector
Character vector of ratios
Guangchuang Yu