pick.4.1xday {valottery} | R Documentation |
Pick 4 (once daily)
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
pick.4.1xday
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
Examples
## 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)
[Package valottery version 0.0.1 Index]