Applied simple linear regression model using force
and velocity
columns from the profile_data
and
returns calculated F0
, V0
, Pmax
, and Sfv
get_FV_profile( profile_data, force = "mean_GRF_over_distance", velocity = "mean_velocity", poly_deg = 1 )
profile_data | Data frame returned from |
---|---|
force | Character string. Name of the column in the |
velocity | Character string. Name of the column in the |
poly_deg | Integer. Number of polynomial degrees. Forwarded to |
List with calculated F0
, V0
, Pmax
, and Sfv
#> $F0 #> [1] 3582.475 #> #> $F0_rel #> [1] 47.76633 #> #> $V0 #> [1] 1.821094 #> #> $Pmax #> [1] 1631.006 #> #> $Pmax_rel #> [1] 21.74674 #> #> $Sfv #> [1] -1967.211 #> #> $Sfv_rel #> [1] -26.22947 #>