get_FV_profile: Get Force-Velocity profile

Description Usage Arguments Value Examples

View source: R/profiles.R

Description

Applied simple linear regression model using force and velocity columns from the profile_data and returns calculated F0, V0, Pmax, and Sfv

Usage

1
2
3
4
5
6
get_FV_profile(
  profile_data,
  force = "mean_GRF_over_distance",
  velocity = "mean_velocity",
  poly_deg = 1
)

Arguments

profile_data

Data frame returned from vj_profile function

force

Character string. Name of the column in the profile_data. Default is "mean_GRF_over_distance"

velocity

Character string. Name of the column in the profile_data. Default is "mean_velocity"

poly_deg

Integer. Number of polynomial degrees. Forwarded to poly function. Default is 1 (for simple linear regression)

Value

List with calculated F0, V0, Pmax, and Sfv

Examples

1
2
fv_profile <- vj_profile(mass = 75)
get_FV_profile(fv_profile)

mladenjovanovic/vjsim documentation built on Aug. 7, 2020, 10:10 p.m.