specify_parameters {impactr} | R Documentation |
Specify prediction model parameters
Description
Specify the accelerometer placement used and the subject body mass. These data is needed in order to use the mechanical loading prediction models.
Usage
specify_parameters(data, acc_placement, subj_body_mass)
Arguments
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. |
Value
An object of class impactr_data
with the specified parameters
as attributes.
Examples
data <- read_acc(impactr_example("hip-raw.csv"))
specify_parameters(data, acc_placement = "hip", subj_body_mass = 79.2)
[Package impactr version 0.4.2 Index]