show_rating: show mean ratings

Description Usage Arguments Value

Description

offensive, defensive and home field

Usage

1
show_rating(z, ordering = "rat")

Arguments

z

output from sampling (list: 'z' of class 'stanfit', 'names' vector of team names)

ordering

how to order output: 'rat' (default) orders by rating, 'alph' orders by team name

Value

list containing 'r': table of ratings, 'h' home field advantage


nxskok/poistan documentation built on May 24, 2019, 11:51 a.m.