to.fractional: Convert decimal odds to fractional odds.

View source: R/odds.R

to.fractionalR Documentation

Convert decimal odds to fractional odds.

Description

Convert decimal odds to fractional odds.

Usage

to.fractional(decimal, ...)

Arguments

decimal

A numeric vector of decimal odds.

Details

Fractional odds have a numerical value one less than the decimal odds.

The decimal odds reflect the net return expected per unit wager. For example, a wager placed on fractional odds of 2/1 (equivalent to fractional odds of 3.0) stands to receive a net win of 200

Value

A character vector of fractional odds.

Examples

to.fractional(c(3, 2.5, 1.25))

DataWookie/gambleR documentation built on Jan. 31, 2024, 3:15 a.m.