numbers2words: Integer numbers to words

Description Usage Arguments Details Value Creation notes

View source: R/numbers2words.R

Description

numbers2words() takes an integer argument and outputs it in word form.

Usage

1

Arguments

x

Input integer.

Details

See description.

Value

Returns a character string.

Creation notes

First added on 2019-Sept-7 while trying to finish the first homework assignment for FNR647. I did not create the underlying code. This credit goes as follows:

I got this from https://gist.github.com/psychemedia/150cb9901529da58124a and added to my helper package because I want it it be easier for me to access without sourcing a script.

The author AJH edited from: https://github.com/ateucher/useful_code/blob/master/R/numbers2words.r

Who accredits John Fox as the original author Function by John Fox found here: http://tolstoy.newcastle.edu.au/R/help/05/04/2715.html


jacpete/jpfxns2 documentation built on May 10, 2020, 9:15 p.m.