Last active
December 25, 2016 04:12
-
-
Save jsta/3bf73373b840cc91c0dfaa23f2d85336 to your computer and use it in GitHub Desktop.
The first one hundred natural numbers in alphabetical order
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.reddit.com/r/mildlyinteresting/comments/5k4eqd/the_first_100_positive_integers_in_alphabetical | |
# https://imgur.com/Ylmw8K6 | |
source("https://raw.githubusercontent.com/ateucher/useful_code/master/R/numbers2words.r") | |
dt <- numbers2words(1:100) | |
dt <- order(dt) | |
dt <- matrix(dt, nrow = 10, byrow = TRUE) | |
knitr::kable(data.frame(dt), caption = "The first one hundred natural numbers in alphabetical order") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment