summary_funs {comperes}R Documentation

Common item summary functions

Description

List of commonly used functions for summarising competition results.

Usage

summary_funs

Format

An object of class list of length 8.

Details

summary_funs is a named list of expressions representing commonly used expressions of summary functions for summarising competition results with summarise_item(). Names of the elements will be used as summary names. It is designed primarily to be used with long format of competition results. To use them inside summarise_item() use unquoting mechanism from rlang package.

Currently present functions:

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

See Also

Compute item summary, Join item summary

Examples

ncaa2005 %>% summarise_game(!!!summary_funs, .prefix = "game_")

[Package comperes version 0.2.7 Index]