parse_ratio_text | R Documentation |
This function parses text from ratios which are written in the format of 1-2 digit numbers separated by a colon and trailing with another 1-2 digit number. The text is processed into a numeric vector of length 2 containing the two numbers.
parse_ratio_text(text)
text |
A string of in the form of e.g. 5:95 or 70:30 |
Numeric vector of length 2
parse_ratio_text("70:30")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.