create_example: Create Example

View source: R/create-example.R

create_exampleR Documentation

Create Example

Description

This function create simple example using progression_table

Usage

create_example(
  progression_table,
  reps = c(3, 5, 10),
  volume = c("intensive", "normal", "extensive"),
  type = c("grinding", "ballistic"),
  ...
)

Arguments

progression_table

Progression table function

reps

Numeric vector. Default is c(3, 5, 10)

volume

Character vector. Default is c("intensive", "normal", "extensive")

type

Character vector. Type of max rep table. Options are grinding (Default) and ballistic

...

Extra arguments forwarded to progression_table

Value

Data frame with the following structure

type

Type of the set and rep scheme

reps

Number of reps performed

volume

Volume type of the set and rep scheme

Step 1

First progression step %1RM

Step 2

Second progression step %1RM

Step 3

Third progression step %1RM

Step 4

Fourth progression step %1RM

Step 2-1 Diff

Difference in %1RM between second and first progression step

Step 3-2 Diff

Difference in %1RM between third and second progression step

Step 4-3 Diff

Difference in %1RM between fourth and third progression step

Examples

create_example(progression_RIR)

# Create example using specific reps-max table and k value
create_example(
  progression_RIR,
  max_perc_1RM_func = max_perc_1RM_modified_epley,
  kmod = 0.0388
)

STMr documentation built on Nov. 2, 2023, 5:20 p.m.