View source: R/calc_projections.R
projections_table | R Documentation |
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
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
)
data_result |
An output from the scrape_data function |
scoring_rules |
The scoring rules to be used for calculations. See
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.