Learn R Programming

Trading (version 3.2)

top5: Top 5 most or least lucky numbers for EuroMillions/EuroJackpot

Description

Returns the top 5 most or least lucky euromillion numbers

Usage

top5(eurolottery_results, date_since, least_lucky = FALSE)

Value

Top 5 numbers

Arguments

eurolottery_results

The full list of EuroMillions/EuroJackpot results

date_since

The date after which the analysis is to be performed, i.e. 2022-12-22

least_lucky

If TRUE, the least lucky numbers will be returned (default FALSE)

Author

Tasos Grivas <tasos@openriskcalculator.com>

Examples

Run this code
euromillions_results = EuroMillionsResults()
top_5 = top5(euromillions_results, '2022-12-22', least_lucky=TRUE)

Run the code above in your browser using DataLab