Skip to contents

trainingmodels 0.0.4

  • New teaching app “Response to a single session”, in inst/app: sliders for the parameters of the Banister model (two-component or fitness-only) and the timing convention, the curve of session_response() with time_to_recover and time_to_peak marked, and its printed summary. Every number comes from session_response(). It is published as a Shinylive static site at https://jorgedelro.github.io/trainingmodels/app/, as a proof of concept before 0.1.0 (DECISIONS.md, D-031; A-013).
  • New run_app() runs the same app locally. shiny is a suggested package; run_app() gives an error saying how to install it when it is missing.
  • The package is built by R-universe, which also provides the WebAssembly binary used by the app in the browser.

trainingmodels 0.0.3

  • New simulate_banister() simulates the Banister impulse-response model from a daily_load object and parameters given by the user: fitness, fatigue and predicted performance for every day, within each athlete. The fitness-only model is an option of the same function (DECISIONS.md, D-023). Both timing conventions are offered through same_day_load, with default "exclude" (D-012). Initial fitness and fatigue are 0 by default and can be set (D-025). Missing loads are an error unless missing_load = "zero" (D-016). The result prints its model, convention, parameters and half-lives (A-012).
  • New session_response() gives the effect of one session on the following days, time_to_recover, time_to_peak and peak_effect; new constant_training() gives the closed-form response to constant daily training, its asymptote and time_of_minimum. Times that do not exist are NA (D-026).
  • New half_life() and time_constant() convert between time constants and half-lives (D-024).
  • New article “The Banister model” reproduces the example of Morton et al.
    1. and discusses the limitations of the model. Nothing is fitted in this version.

trainingmodels 0.0.2

  • New srpe_load() computes session RPE load, RPE x duration (Foster 1998; Foster et al. 2001).
  • New rolling_load() gives the rolling sum and mean of the daily load over a window of days, and monotony_strain() gives Foster’s monotony and strain over a rolling window (7 days by default). Both work within each athlete, return NA for windows with a missing day, and offer both timing options through same_day_load, with default "include" (DECISIONS.md, D-020 to D-022).
  • Functions that take a daily_load now check it first and refuse an object that was changed after it was built, for example by subsetting (#4).
  • New article “Monotony and strain” reproduces Foster (1998, Table 1) and discusses the limitations of the descriptors.
  • Ratios of rolling loads and EWMA-based loads are left to the ACWR package (D-019).

trainingmodels 0.0.1

  • New as_daily_load() builds a complete daily calendar from session data: same-day sessions are summed, every day is marked as training, rest or missing, and days without a row are filled as rest (default) or missing, with a warning for long runs of filled days (DECISIONS.md, D-015 to D-017). Supports several athletes and an optional performance column.
  • New print() and summary() methods for daily_load objects.

trainingmodels 0.0.0.9000

  • Initial package skeleton (milestone 0). No user-facing functionality yet.