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


YuLab-SMU/DOSE documentation built on Nov. 3, 2024, 9:37 p.m.