h2h_funs: Common Head-to-Head functions

Description Usage Format Details See Also Examples

Description

List of commonly used functions for computing Head-to-Head values.

Usage

1

Format

An object of class list of length 9.

Details

h2h_funs is a named list of expressions representing commonly used expressions of Head-to-Head functions for computing Head-to-Head values with h2h_long() or h2h_mat(). Names of the elements will be used as Head-to-Head value names. To use them inside h2h_long() or h2h_mat() use unquoting mechanism from rlang package.

Currently present functions:

Note that it is generally better to subset h2h_funs using names rather than indices because the order of elements might change in future versions.

See Also

Long format of Head-to-Head values.

Matrix format of Head-to-Head values.

Examples

1
2
3
ncaa2005 %>% h2h_long(!!!h2h_funs)

ncaa2005 %>% h2h_mat(!!!h2h_funs["num_wins2"])

echasnovski/comperes documentation built on Oct. 22, 2018, 9:25 p.m.