Nothing
#' Convert Decimal Odds to Probabilities
#'
#' @param x A vector of Decimal odds
#'
#' @return A vector of Probabilities
#'
#'@export
#'
#' @examples
#' odds.dec2prob(c(1.93,2.05))
odds.dec2prob <- function (x) {
prob <- x
prob[] <- NA_real_
prob[which(x > 1)] <- 1 / x[which(x > 1)]
prob
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.