pick.4.1xday: Pick 4 (once daily)

Description Usage Format Source Examples

Description

Historical data for the Pick 4 once daily game. Game play: Pick a four digit number from 0000 through 9999. Note: On January 30, 1995, Pick 4 switched to twice daily drawings.

Usage

1

Format

A data frame with 1,041 rows and 5 variables:

date

date of draw

N1

1st digit

N2

2nd digit

N3

3rd digit

N4

4th digit

Source

https://www.valottery.com

Examples

1
2
3
4
5
6
## Any Pick 4 happen more than once?
results <- apply(pick.4.1xday[,-1],1,function(x)paste(x,collapse = ""))
any(table(results) > 1)
## Which numbers?
i <- which(table(results) > 1,useNames = FALSE)
sort(table(results)[i],decreasing = TRUE)

Example output

[1] TRUE
results
1884 7876 0552 0842 1096 1232 1716 1723 1811 2521 2601 2687 3047 3048 3097 3580 
   3    3    2    2    2    2    2    2    2    2    2    2    2    2    2    2 
3692 3898 3902 3921 4050 4441 4484 4842 4897 4960 5084 5161 5178 5411 5691 5715 
   2    2    2    2    2    2    2    2    2    2    2    2    2    2    2    2 
5949 6097 6250 6303 6361 6745 6810 7167 7380 7469 7770 8148 8395 8427 8658 8672 
   2    2    2    2    2    2    2    2    2    2    2    2    2    2    2    2 
8708 8850 9129 9379 9588 9824 9845 9924 
   2    2    2    2    2    2    2    2 

valottery documentation built on May 2, 2019, 6:33 a.m.