filter_results: Filters a data frame by round and equipment class and applies...

Description Usage Arguments Value

Description

All event scores are contained in a single data frame. This function filter the data frame by the 'round' and 'class' columns and applies a multiplier to the score column to adjust for a one-day, two-day, or three-day event.

Usage

1
filter_results(results, archery_round, equipment_class, multiplier = 1)

Arguments

results

A dataframe containing scores from various archery events.

archery_round

The specific round to filter.

equipment_class

The specific equipment class to filter.

multiplier

A multiplier to apply to each score (default = 1).

Value

A new dataframe containing the filtered results.


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