get_results: Find projected results of NFL Pick'Em pool

Description Usage Arguments Value Examples

Description

Find projected results of NFL Pick'Em pool

Usage

1
2
3
get_results(input_file, week, probs = get_538_data(),
  pickem = read_pickem(input_file, week, probs),
  losers = get_losers(probs, week))

Arguments

input_file

filename where the source xlsm is located

week

which week to return results for

probs

data.table containing game predictions. By default, calls get_538_data

pickem

data.frame

losers

see get_losers

Value

data.table with results

Examples

1
2
3
4
## Not run:
get_results("input/NFL Pool.xlsm", 11)

## End(Not run)

TylerGrantSmith/pickem documentation built on Sept. 28, 2019, 10:10 a.m.