run_tabata_workout: Run a tabata workout

Description Usage Arguments Value Examples

View source: R/run_tabata.R

Description

Selects a random subset of 4 workout exercises and starts the countdown timer to run in a 'tabata' format, where the 4 exercises will be repeated once.

Usage

1
run_tabata_workout(rest, set)

Arguments

rest

Indicate the number of seconds in between sets. Numeric, recommend 10 (10 seconds).

set

Indicate the length for each of the 4 exercises in seconds, recommend 30 (30 seconds).

Value

After executing this command, the console will turn into a countdown timer to run your workout. Sounds will play to indicate each transition.

The four exercises randomly selected will be counted down at the user specified set length (in seconds). Then the four exercises will be repeated. 4 exercises x 2 sets.

Examples

1
2
3
4
5
6
run_tabata_workout(10, 30)

# Will start a workout set of 4 exercises
## that will be repeated once (4 x2).
## Workouts will run for 30 seconds
## with 10 second transitions.

shu251/exRcise documentation built on March 6, 2021, 12:29 a.m.