stdzDose | R Documentation |
This function standardizes the dose entity.
stdzDose(x)
x |
character vector of extracted dose values |
Some dose strings may include multiple values and additional interpretation may be needed. For example ‘2-1’ likely indicates a dose of 2 followed by a dose of 1. Currently it would be converted to the average of 1.5.
numeric vector
stdzDose(c('one tablet', '1/2 pill', '1-3 tabs'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.