Acute Chronic Workload Ratio Calculation

Functions for calculating the acute chronic workload ratio using three different methods: exponentially weighted moving average (EWMA), rolling average coupled (RAC) and rolling averaged uncoupled (RAU). Examples of this methods can be found in Williams et al. (2017) for EWMA and Windt & Gabbet (2018) for RAC and RAU .


ACWR

License:MIT

Overview

The ACWR package have been designed to calculate the the acute chronic workload ratio using three different methods: exponentially weighted moving average (EWMA), rolling average coupled (RAC) and rolling averaged uncoupled (RAU).

Resources

Example

This is a basic example which shows you how to use the ACWR package:

library(devtools)
install_github("JorgeDelro/ACWR")
library(ACWR)

First, we have to load the data stored in the package

data("training_load", package = "ACWR")
# Convert to data.frame
training_load <- data.frame(training_load)

Then, we can calculate the ACWR:

result_ACWR <- ACWR(db = training_load,
                  ID = "ID",
                  TL = "TL",
                  weeks = "Week",
                  training_dates = "Training_Date",
                  ACWR_method = c("EWMA", "RAC", "RAU"))

Additionally, individual plot can be obtained:

ACWR_plot <- plot_ACWR(db = result_ACWR,
                        TL = "TL",
                        ACWR = "RAC_ACWR",
                        day = "Day",
                        ID = "ID")

Functions for each individual method have been implemented too:

# Select the first subject
training_load_1 <- training_load[training_load[["ID"]] == 1,  ]

# EWMA
result_EWMA <- EWMA(TL = training_load_1$TL)

# RAC
result_RAC <- RAC(TL = training_load_1$TL,
                  weeks = training_load_1$Week,
                  training_dates = training_load_1$Training_Date)
                    
# RAU
result_RAU <- RAU(TL = training_load_db_1$TL,
                  weeks = training_load_1$Week,
                  training_dates = training_load_1$Training_Date)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ACWR")

0.1.0 by Jorge R Fernandez-Santos, 5 years ago


https://github.com/JorgeDelro/ACWR


Report a bug at https://github.com/JorgeDelro/ACWR/issues


Browse source code at https://github.com/cran/ACWR


Authors: Jorge R Fernandez-Santos [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports r2d3

Suggests testthat


See at CRAN