Learn R Programming

EHR (version 0.4-11)

stdzDuration: Standardize Duration Entity

Description

This function standardizes the duration entity.

Usage

stdzDuration(x)

Value

character vector

Arguments

x

character vector of extracted duration values

Examples

Run this code
stdzDuration(c('1 month', 'three days', 'two-weeks'))

Run the code above in your browser using DataLab