h2h_funs {comperes}R Documentation

Common Head-to-Head functions

Description

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

Usage

h2h_funs

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

ncaa2005 %>% h2h_long(!!!h2h_funs)

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

[Package comperes version 0.2.7 Index]