Learn R Programming

valottery (version 0.0.1)

cash.5.2xday: Cash 5 (twice daily)

Description

Historical data for the Cash 5 twice daily game. Game Play: Pick five numbers from 1 through 34. Note: On April 11, 1999, Cash 5 switched to twice daily drawings.

Usage

cash.5.2xday

Arguments

Format

A data frame with 11,164 rows and 7 variables:
date
date of draw
time
time of drawing: day or night
N1
1st number in order
N2
2nd number in order
N3
3rd number in order
N4
4th number in order
N5
5th number in order

Examples

Run this code
max.days <- apply(subset(cash.5.2xday,time=="day",-(1:2)),1,max)
max.nights <- apply(subset(cash.5.2xday,time=="night",-(1:2)),1,max)
op <- par(mfrow=c(1,2))
hist(max.days)
hist(max.nights)
par(op)

Run the code above in your browser using DataLab