convertodds: Convert odds

Description Usage Arguments Details Value

Description

Convert between odd types

Usage

1
2
convertodds(odds, from = default.GamblR.odds(), to = "decimal",
  round = TRUE)

Arguments

odds

A vector of odds in the "from" format

from

Odds to convert from

to

Odds to convert to

round

Round the result? (TRUE/FALSE)

Details

Can convert between implied probability (improb), decimal, american, fractional, hongkong, indonesian, and malay odd types

Value

A vector of odds in the "to" format


shearwavesplitter/GamblR documentation built on May 30, 2019, 8:27 a.m.