parse_ratio: parse_ratio

View source: R/parse_ratio.R

parse_ratioR Documentation

parse_ratio

Description

parse character ratio to double value, such as 1/5 to 0.2

Usage

parse_ratio(ratio)

Arguments

ratio

character vector of ratio to parse

Value

A numeric vector (double) of parsed ratio

Author(s)

Guangchuang Yu


GuangchuangYu/DOSE documentation built on Oct. 31, 2024, 9:15 a.m.