Calculate a measure of how balanced a team is using its
weaknesses and resistances.
Higher values indicate a more balanced team.
Usage
calc_balance(resistances, weaknesses)
Arguments
- resistances:
list of resistances obtained from calc_resistances
- weaknesses:
list of weaknesses obtained from calc_weaknesses
Value
balance : float
measure of how balanced the team is.
Examples
calc_balance(c(Normal = 0, Fire = 3), c(Normal = 0, Fire = 3))
#> [1] 0