to.decimal: Convert fractional odds to decimal odds.

Description Usage Arguments Value

View source: R/odds.R

Description

Convert fractional odds to decimal odds.

Usage

1
to.decimal(fractional)

Arguments

fractional

A character vector of fractional odds.

Value

A numeric vector of decimal odds examples to.decimal("1/2")


babushkala/odds documentation built on June 4, 2017, 12:11 a.m.