ACWR | R Documentation |
Acute Chronic Workload Ratio
ACWR( db, ID, TL, weeks, days, training_dates, ACWR_method = c("EWMA", "RAC", "RAU") )
db |
a data frame |
ID |
ID of the subjects |
TL |
training load |
weeks |
training weeks |
days |
training days |
training_dates |
training dates |
ACWR_method |
method to calculate ACWR |
a data frame with the acute & chronic training load and ACWR calculated with the selected method/s and added on the left side of the data frame
## Not run: # Get old working directory oldwd <- getwd() # Set temporary directory setwd(tempdir()) # Read dfs data("training_load", package = "ACWR") # Convert to data.frame training_load <- data.frame(training_load) # Calculate ACWR result_ACWR <- ACWR(db = training_load, ID = "ID", TL = "TL", weeks = "Week", days = "Day", training_dates = "Training_Date", ACWR_method = c("EWMA", "RAC", "RAU")) # 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.