create_model: Create regression model

Description Usage Arguments Value

Description

Fit a linear or exponential model to the trimmed CDF of archery scores.

Usage

1
create_model(results, perfect_score, score_col, mode = "exp")

Arguments

results

A dataframe containing archery scores.

perfect_score

The maximum number of points possible for the specific archery round

score_col

The name of the column in the data frame that contains the scores

mode

The type of function ("exp" or "linear") to fit to the results data.

Value

An R regression model


timwilson/soty documentation built on May 11, 2019, 3:08 p.m.