projections_table: Create a Projections Table

View source: R/calc_projections.R

projections_tableR Documentation

Create a Projections Table

Description

This function creates the projections table based on the scraped data from the scrape_data function. The output is a table containing the projected points, confidence intervals, standard deviation for points, and if seasonal data also the VOR values

Usage

projections_table(
  data_result,
  scoring_rules = NULL,
  src_weights = NULL,
  vor_baseline = NULL,
  tier_thresholds = NULL,
  avg_type = c("average", "robust", "weighted"),
  return_raw_stats = FALSE
)

Arguments

data_result

An output from the scrape_data function

scoring_rules

The scoring rules to be used for calculations. See vignette("scoring_settings") on how to define custom scoring settings. If omitted then default scoring settings will be used.

src_weights

A named vector defining the weights for each source to be used in calculations. If omitted then default_weights will be used.

vor_baseline

A named vector defineing the baseline to use for VOR calculations. If omitted then the default_baseline will be used.

tier_thresholds

The threshold values to be used when determining tiers. If omitted then the default_threshold will be used.


FantasyFootballAnalytics/ffanalytics documentation built on April 6, 2024, 6:56 p.m.