frequency_vals {medExtractR} | R Documentation |
Keywords Specifying Frequency
Description
A dictionary mapping frequency expressions to numeric values representing the corresponding number of doses per day. Example expressions include "q12 hours", "bid", "daily", and "three times a day". The form of each frequency is given as a regular expression.
Usage
frequency_vals
Format
A data frame with frequency expressions (exact and/or regular expressions).
- expr
A character vector, expressions to consider as frequency.
- value
A numeric vector, numeric value of frequency represented as number of doses taken per day. For example, “bid” and “twice a day” would both have a numeric value of 2.
Examples
data(frequency_vals)
[Package medExtractR version 0.4.1 Index]