multiply_dose {doseminer} R Documentation

## Evaluate a multiplicative plaintext expression

### Description

Replaces written phrases like "2 x 5" with their arithmetic result (i.e. 10)

### Usage

multiply_dose(axb)


### Arguments

 axb An string expression of the form 'A x B' where A, B are numeric

### Value

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