top5 {Trading}R Documentation

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)

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)

Value

Top 5 numbers

Author(s)

Tasos Grivas <tasos@openriskcalculator.com>

Examples

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


[Package Trading version 3.0 Index]