power.ball: Power Ball

Description Usage Format Source Examples

Description

Historical data for the Power Ball game. Game play: Pick five different numbers from 1 through 59; then select one Powerball number from 1 through 35.

Usage

1

Format

A data frame with 582 rows and 7 variables:

date

date of draw

powerball

powerball result

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

Source

https://www.valottery.com

Examples

1
2
3
4
5
6
## According to game rules, the powerball is numbered 1 - 35,
## but apparently there were times when it went up to 39
i <- power.ball$powerball > 35
any(i)
sum(i)
power.ball$powerball[i]

Example output

[1] TRUE
[1] 21
 [1] 37 36 38 39 36 37 38 36 39 37 36 36 36 39 39 38 39 36 39 38 38

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