Learn R Programming

medExtractR (version 0.4.1)

duration_vals: Keywords Specifying Duration

Description

A dictionary with phrases indicating how long the patient should take a particular dose of the drug. Examples of duration expressions include "2 weeks", "14 days", "another 3 days", "through mid-April", or a specific date. The form of each duration is given as a regular expression.

Usage

duration_vals

Arguments

Format

A data frame with duration expressions (exact and/or regular expressions).

expr

A character vector, expressions to consider as duration.

Examples

Run this code
# NOT RUN {
data(duration_vals)
# }

Run the code above in your browser using DataLab