multiply_dose {doseminer} | R Documentation |
Replaces written phrases like "2 x 5" with their arithmetic result (i.e. 10)
multiply_dose(axb)
axb |
An string expression of the form 'A x B' where A, B are numeric |
An equivalent string giving the product of A
and B
.
If A
is a range of values, a range of values is returned.
Used internally within extract_from_prescription