R/RcppExports.R

Defines functions eloWinPct eloMarkovChain finalElos eloRun eloColley eloRunRegressedAsMatrix eloRunAsMatrix

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

eloRunAsMatrix <- function(mat, initialElos, group) {
    .Call('_elo_eloRunAsMatrix', PACKAGE = 'elo', mat, initialElos, group)
}

eloRunRegressedAsMatrix <- function(mat, initialElos, regMat, regress, group) {
    .Call('_elo_eloRunRegressedAsMatrix', PACKAGE = 'elo', mat, initialElos, regMat, regress, group)
}

eloColley <- function(teamA, teamB, winsA, weightsA, weightsB, weights, k, nTeams) {
    .Call('_elo_eloColley', PACKAGE = 'elo', teamA, teamB, winsA, weightsA, weightsB, weights, k, nTeams)
}

eloRun <- function(teamA, teamB, weightsA, weightsB, winsA, k, adjTeamA, adjTeamB, regress, to, by, regressUnused, group, initialElos, flag) {
    .Call('_elo_eloRun', PACKAGE = 'elo', teamA, teamB, weightsA, weightsB, winsA, k, adjTeamA, adjTeamB, regress, to, by, regressUnused, group, initialElos, flag)
}

finalElos <- function(mat, nTeams) {
    .Call('_elo_finalElos', PACKAGE = 'elo', mat, nTeams)
}

eloMarkovChain <- function(teamA, teamB, winsA, weightsA, weightsB, weights, k, nTeams) {
    .Call('_elo_eloMarkovChain', PACKAGE = 'elo', teamA, teamB, winsA, weightsA, weightsB, weights, k, nTeams)
}

eloWinPct <- function(winsA, teamA, teamB, weightsA, weightsB, weights, nTeams) {
    .Call('_elo_eloWinPct', PACKAGE = 'elo', winsA, teamA, teamB, weightsA, weightsB, weights, nTeams)
}
eheinzen/elo documentation built on Oct. 11, 2023, 12:19 a.m.