freqNum {EHR}R Documentation

Convert Character Frequency to Numeric

Description

This function converts the frequency entity to numeric.

Usage

freqNum(x)

Arguments

x

character vector of extracted frequency values

Value

numeric vector

Examples

f <- stdzFreq(c('in the morning', 'four times a day', 'with meals'))
freqNum(f)

[Package EHR version 0.4-11 Index]