Accelerometer#
One measure that is of interest when working out with weights is the length of time that muscles are engaged in the exercise. The gold standard for measuring this is via a video of the exercise that is evaluated by a human looking at it frame by frame. This data contains such information for participants doing several different common weight training exercises. The same lengths are computed via a novel way using a smartphone accelerometer, which was attached to the weights.
From the authors: “Single repetition, contraction-phase specific and total time-under-tension (TUT) are crucial mechano-biological descriptors associated with distinct morphological, molecular and metabolic muscular adaptations in response to exercise, rehabilitation and/or fighting sarcopenia. However, to date, no simple, reliable and valid method has been developed to measure these descriptors.”
Initialization#
library(fosdata)
data <- fosdata::accelerometerAccessing fields#
data <- fosdata::accelerometer
difference_video_raters_ms <- data$difference_video_raters_ms # Just a random field in the datasetInteractive R Sample#
You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.
LLM instructions#
If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.
LLM Instructions
The fosdata::accelerometer dataset containing the following fields:
fields[25]{name,type,values}:
participant,numeric,n/a
machine,character,n/a
set,numeric,n/a
contraction_mode,character,n/a
time_video_rater_cv_ms,numeric,n/a
time_video_rater_dg_ms,numeric,n/a
time_smartphone_1_ms,numeric,n/a
time_smartphone_2_ms,numeric,n/a
video_rater_mean_ms,numeric,n/a
smartphones_mean_ms,numeric,n/a
relative_difference,numeric,n/a
difference_video_smartphone_ms,numeric,n/a
mean_video_smartphone_ms,numeric,n/a
contraction_mode_levels,character,[Con,Ecc,Rep,TuT]
difference_video_raters_ms,numeric,n/a
difference_smartphones_ms,numeric,n/a
video_smartphone_difference_outlier,logical,[FALSE,TRUE]
rater_difference_outlier,logical,[FALSE,TRUE]
smartphone_difference_outlier,logical,[FALSE,TRUE]
normalized_error_smartphone,numeric,n/a
participant_age_levels,character,[young,old]
participant_age_years,numeric,n/a
participant_height_cm,numeric,n/a
participant_weight_kg,numeric,n/a
participant_gender,character,[m,f]Fields#
| Name | Description | Type | Min | Max | Values |
|---|---|---|---|---|---|
participant |
ID of participant, from 1-22. | numeric | 1 | 22 | - |
machine |
Name of the machine that the participant was using. Levels are “LEG PRESS” “LEG EXTENSION” “LEG CURL” “ABDUCTOR” ADDUCTOR" “LOWER BACK” “TOTAL ABDOMINAL” “VERTICAL TRACTION” and “CHEST PRESS” | character | - | - | - |
set |
Participants did two sets of each machine. This is numeric 1-2. | numeric | 1 | 2 | - |
contraction_mode |
Participants repeated each exercise 10 times in a set. This variable describes whether the observation is related to concentric contraction, eccocentric contraction, contraction for a single rep, and total time-under-tension | character | - | - | - |
time_video_rater_cv_ms |
undefined | numeric | 460 | 91900 | - |
time_video_rater_dg_ms |
undefined | numeric | 460 | 91880 | - |
time_smartphone_1_ms |
undefined | numeric | - | 90000 | - |
time_smartphone_2_ms |
undefined | numeric | - | 90800 | - |
video_rater_mean_ms |
Mean of two video timings. | numeric | 460 | 91890 | - |
smartphones_mean_ms |
Mean of two smartphone timings. | numeric | - | 90400 | - |
relative_difference |
abs(smartphones_mean - video_rater_mean)/video_rater_mean | numeric | - | 22.56 | - |
difference_video_smartphone_ms |
Difference between video an smartphone estimate. | numeric | -20810 | 5845 | - |
mean_video_smartphone_ms |
Mean of video and smartphone means. | numeric | 455 | 91145 | - |
contraction_mode_levels |
One of Con, Ecc, Rep or TuT. Redundant given contraction_mode | character | - | - | Con, Ecc, Rep, TuT |
difference_video_raters_ms |
undefined | numeric | -360 | 3520 | - |
difference_smartphones_ms |
undefined | numeric | -35750 | 5750 | - |
video_smartphone_difference_outlier |
undefined | logical | - | - | FALSE, TRUE |
rater_difference_outlier |
undefined | logical | - | - | FALSE, TRUE |
smartphone_difference_outlier |
undefined | logical | - | - | FALSE, TRUE |
normalized_error_smartphone |
undefined | numeric | - | 313.85 | - |
participant_age_levels |
undefined | character | - | - | young, old |
participant_age_years |
undefined | numeric | 19 | 70 | - |
participant_height_cm |
undefined | numeric | 160 | 187 | - |
participant_weight_kg |
undefined | numeric | 46 | 105 | - |
participant_gender |
undefined | character | - | - | m, f |
Source#
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0235156 https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/R3ZKYH