powered by
This function converts the frequency entity to numeric.
freqNum(x)
numeric vector
character vector of extracted frequency values
f <- stdzFreq(c('in the morning', 'four times a day', 'with meals')) freqNum(f)
Run the code above in your browser using DataLab