specify_parameters {impactr} | R Documentation |
Specify the accelerometer placement used and the subject body mass. These data is needed in order to use the mechanical loading prediction models.
specify_parameters(data, acc_placement, subj_body_mass)
data |
An |
acc_placement |
A character string indicating the accelerometer placement. Can be either "ankle", "back", or "hip". |
subj_body_mass |
A double scalar indicating the subject body mass in kilograms. |
An object of class impactr_data
with the specified parameters
as attributes.
data <- read_acc(impactr_example("hip-raw.csv"))
specify_parameters(data, acc_placement = "hip", subj_body_mass = 79.2)