yearSample | R Documentation |
Nerdy way to wish someone a happy new year by using sample
yearSample(year)
year |
4 digit numerical year. |
Nerdy way to wish someone a happy new year, eg:
Have a great
set.seed(1244); sample(0:9,4,T)
cat
s command into the console that can be copypasted to anyone's R script.
Berry Boessenkool, berry-b@gmx.de, April 2014
nameSample
to impress with "randomly" finding a name,
set.seed
, sample
, letters
yearSample(2016)
# Have a nerdy
set.seed(12353); sample(0:9, 4, replace=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.