RAU | R Documentation |
Rolling Average Uncoupled
RAU(TL, weeks, training_dates)
TL |
training load |
weeks |
training weeks |
training_dates |
training dates |
This function returns the following variables:
RAU_chronic: RAU - chronic training load.
RAU_acute: RAU - acute training load.
RAU_ACWR: RAU - Acute-Chronic Workload Ratio.
## Not run: # Get old working directory oldwd <- getwd() # Set temporary directory setwd(tempdir()) # Read db data("training_load", package = "ACWR") # Convert to data.frame training_load <- data.frame(training_load) # Select the first subject training_load_1 <- training_load[training_load[["ID"]] == 1, ] # Calculate ACWR result_RAU <- RAU(TL = training_load_1$TL, weeks = training_load_1$Week, training_dates = training_load_1$Training_Date) # set user working directory setwd(oldwd) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.