exacta: Calculates the probability of an exacta bet being successful

Description Usage Arguments Value Examples

Description

Calculates the probability of an exacta bet being successful

Usage

1
exacta(race_df, picks)

Arguments

race_df,

a data frame containing each horse's name and odds of winning 1st

picks

character vector containing the picks, by horse name, to come in 1st and 2nd in that order.

Value

The probability of the exacta bet being successful.

Examples

1
2
exacta(Kentucky_derby, c('Nyquist','Exaggerator'))
exacta(race, my_picks)

stumash1/HorsePackage documentation built on May 30, 2019, 8:35 p.m.