randomeloextract: extract ratings from random sequences based on an interaction...

Description Usage Arguments Value Author(s) Examples

View source: R/randomeloextract.R

Description

extract ratings from random sequences based on an interaction matrix

Usage

1
randomeloextract(x, ID, mode=c("obj", "samp", "avg"))

Arguments

x

output from randomelo

ID

ID

mode

character, one of three: 1) obj: a random value from all the sequences; 2) samp: a random value sampled from a normal distribution with mean and sd of all randomized values; 3) avg: the average value from all the runs

Value

numeric

Author(s)

Christof Neumann

Examples

1
2
3
4
5
6
7
data(adv)
SEQ <- elo.seq(winner=adv$winner, loser=adv$loser, Date=adv$Date)
mat <- creatematrix(SEQ)
res <- randomelo(mat, 10)
randomeloextract(res, "a", "samp")
randomeloextract(res, "a", "obj")
randomeloextract(res, "a", "avg")

EloRating documentation built on May 29, 2017, 7:14 p.m.