R/RcppExports.R

Defines functions glicko2 glicko factor2dummy dbl bbt

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

bbt <- function(name, rank, r, rd, sigma, weight, identifier, kappa = 0.5, gamma = 999.0, beta = 25/6, init_r = 25.0, init_rd = 25/3) {
    .Call('_sport_bbt', PACKAGE = 'sport', name, rank, r, rd, sigma, weight, identifier, kappa, gamma, beta, init_r, init_rd)
}

dbl <- function(name, rank, X, R, RD, beta, weight, identifier, kappa = 0.95) {
    .Call('_sport_dbl', PACKAGE = 'sport', name, rank, X, R, RD, beta, weight, identifier, kappa)
}

factor2dummy <- function(factor) {
    .Call('_sport_factor2dummy', PACKAGE = 'sport', factor)
}

glicko <- function(name, rank, r, rd, sigma, weight, identifier, init_r = 1500.00, init_rd = 350.00, gamma = 1, kappa = .5) {
    .Call('_sport_glicko', PACKAGE = 'sport', name, rank, r, rd, sigma, weight, identifier, init_r, init_rd, gamma, kappa)
}

glicko2 <- function(name, rank, r, rd, sigma, weight, kappa, identifier, tau = .5, init_r = 1500.00, init_rd = 350.00) {
    .Call('_sport_glicko2', PACKAGE = 'sport', name, rank, r, rd, sigma, weight, kappa, identifier, tau, init_r, init_rd)
}
elo2zero/sport documentation built on Sept. 9, 2018, 8:38 p.m.