markov: Compute ratings from a stochastic matrix

Description Usage Arguments Value

View source: R/markov.R

Description

This function computes ratings from a stochastic matrix. The stochastic matrix can be made irreducible or slightly perturbed by choosing 0 < beta < 1.

Usage

1
markov(stoc_mtx, beta = 1)

Arguments

stoc_mtx

a matrix containing the transition information. The matrix entry A[i,j] encodes the transistion probability from candidate i to candidate j

beta

a numeric parameter to guarantee an irreducible Markov matrix

Value

A vector containing the Markov ratings for the candidates


shinault/rater documentation built on May 23, 2019, 7:35 a.m.