freqNum: Convert Character Frequency to Numeric

View source: R/stdzFreq.R

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

EHR documentation built on Dec. 28, 2022, 1:31 a.m.