An algorithm in R for Evans Day weight lifting app.
This function returns the maximum amount of weight to lift for one's upper body, lower body and general exercise repetitions for a specified weight lifting goal. The weight argument is the amount of weight an individual may lift between 4 to 6 repetitions. That input is passed through the weight argument. The additional arguments are mass and goal. The function outputs a dataframe with the integer features upper_body
and lower_body
as well as character objects for repetitions as feature reps
.
The mass argument has two charcter objects (string values) from which to choose:
"lb"
default"kg"
The goal argument has several character objects from which to choose:
"max"
default"explosive_power"
"endurance"
"muscle"
"power"
"strength"
The algorithm reference:
Brzycki, M. (1993). Strength testing: Predicting a one-rep max from reps to fatigue. Journal of Physical Education, Recreation, and Dance, 64, 1, 88–90.