Nothing
#' Displays how the functionality related to the eurojackpot analysis can be utilized
#' @title Eurojackpot analysis example
#' @return The final results
#' @export
#'
#' @author Tasos Grivas <tasos@@openriskcalculator.com>
#' @examples
#'
#' # This software is covered by GPL license and provided strictly for educational
#' # reasons (no actual investment/betting decisions should be taken based on this)
#'
#' final_results = EuroJackpotExample()
EuroJackpotExample <- function() {
eurojackpot_results = EuroJackpotResults()
user_input = top5(eurojackpot_results, date_since='2005-01-01', least_lucky=TRUE)
backtested_results = EuroLotteryBacktesting(eurojackpot_results, date_since='2005-01-01', user_input)
payout_results = CalcEuroLotteryPnL(backtested_results, plot_results = TRUE)
# returns all the 139,838,160 possible combinations, can create memory issues.
#all_combinations = EuroLotteryAllCombinations()
return(payout_results)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.