Description Usage Arguments Value
View source: R/calculate_standings.R
Calculates the standings in the competition.
1 2 3 4 5 6 7 8 9 10 11 12 13 | calculate_standings(
teams,
instructors,
family_reward = 1,
order_reward = 3,
class_reward = 5,
expert_threshold = 4,
NT_reward = 1,
VU_reward = 2,
EN_reward = 3,
CR_reward = 4,
RE_reward = 5
)
|
teams |
a list containing a data.frame for each team, see the README document for the format. |
instructors |
a vector of character strings containing the initials of the teachers. |
family_reward |
an integer indicating the number of points rewarded for every new family encountered |
order_reward |
an integer indicating the number of points rewarded for every new order encountered |
class_reward |
an integer indicating the number of points rewarded for every new class encountered |
expert_threshold |
The number of species within a family that has to be encountered for each species to start counting double. set this too a very high number if the feature is not desired. |
NT_reward |
an integer indicating the number of points rewarded when encountering a species listed as Near Threatened on the regional IUCN list. |
VU_reward |
an integer indicating the number of points rewarded when encountering a species listed as Vulnerable on the regional IUCN list. |
EN_reward |
an integer indicating the number of points rewarded when encountering a species listed as Endangered on the regional IUCN list. |
CR_reward |
an integer indicating the number of points rewarded when encountering a species listed as Critically endangered on the regional IUCN list. |
RE_reward |
an integer indicating the number of points rewarded when encountering a species listed as Regionally Extinct on the regional IUCN list. |
a tibble ready to use in plot_standings().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.