Returns muscle moment arms. With no model, this is the anatomical lookup
table promoted from the package's internal reference values (signed by the
agonist/antagonist direction); with a musclePath() model, the moment arm
is the joint-angle-dependent value -dL/dtheta evaluated at angles.
Arguments
- muscle
Optional muscle name to filter the lookup table (case insensitive). Ignored when
modelis supplied.- joint
Optional joint name to filter the lookup table.
- model
Optional
musclePath()model; when supplied, moment arms are computed from the path derivative atangles.- angles
Named numeric vector of joint angles in radians (one per joint the
modelcrosses); required whenmodelis supplied.
Value
Without model: a data frame with muscle_name, joint_name,
moment_arm_m (magnitude), direction, and signed_moment_arm_m. With
model: a named numeric vector of signed moment arms (m) per joint.
References
Sherman MA, Seth A, Delp SL (2013). "What is a moment arm? Calculating muscle effectiveness in biomechanical models using generalized coordinates."
Examples
momentArm("Gastrocnemius")
#> muscle_name joint_name moment_arm_m direction signed_moment_arm_m
#> 26 Gastrocnemius ankle 0.05 1 0.05
mp <- musclePath("ankle", coefficients = list(ankle = c(-0.05)))
momentArm(model = mp, angles = c(ankle = 0.2))
#> ankle
#> 0.05