Learn R Programming

EHR (version 0.4-11)

freqNum: Convert Character Frequency to Numeric

Description

This function converts the frequency entity to numeric.

Usage

freqNum(x)

Value

numeric vector

Arguments

x

character vector of extracted frequency values

Examples

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

Run the code above in your browser using DataLab