frequency_vals: Keywords Specifying Frequency

frequency_valsR 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)

medExtractR documentation built on June 7, 2022, 1:08 a.m.