Description Usage Arguments Value Examples
View source: R/generate_workout.R
Returns a data frame with a list of warm-up and workout exercises. To be used in run_workout()
.
1 | generate_workout(warmupREPS, workoutREPS)
|
warmupREPS |
input number of desired warm-ups, numeric (i.e., 3). Maximum is 15. |
workoutREPS |
input number of desiered workouts, numeric (i.e., 4). Maximum is 32. |
A data frame that lists warm-ups and workouts (user defined), and splits moves that require left and right sides into a LEFT and RIGHT size.
Make sure to set equal to a new data frame to save this workout. Then use this new data frame to run the working using the run_workout()
function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | myworkout <- generate_workout(4, 8)
# Output will include 4 warm-ups and 8 workouts
myworkout <- generate_workout(3, 5)
myworkout
# Example output:
# Workout
# 1 lateral / side lunges (alternate sides)
# 2 butt kickers
# 3 jump squats
# 4 single-leg squats
# 5 single-leg squats
# 6 step-up / box jump (use stair, a chair, or couch)
# 7 plank jacks
# 8 plank hold
# 9 squats
# Type Sides
# 1 warm-up both
# 2 warm-up both
# 3 warm-up both
# 4 main right
# 5 main left
# 6 main both
# 7 main both
# 8 main both
# 9 main both
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.