Dec2US: Convert Decimal to American odds

Description Usage Arguments Value Examples

View source: R/odds_converter.R

Description

Returns a vector of American odds

Usage

1
Dec2US(decimal, precision = 4)

Arguments

decimal

A vector of Decimal odds.

precision

A numerical value representing the precision. The default precision is set to 4 digits.

Value

A vector of American odds.

Examples

1
Dec2US(c(3.17, 2.14, 2.01, 1.67))

pwu97/bettingtools documentation built on May 27, 2020, 11:45 p.m.