View source: R/compute_hjc_regression.R
compute_hjc_regression | R Documentation |
This function computes the right and left hip joint centers based on Harrington's formula.
compute_hjc_regression(
data,
LASIS_name = "L.ASIS",
RASIS_name = "R.ASIS",
LPSIS_name = "L.PSIS",
RPSIS_name = "R.PSIS",
RHJC_name = "R.HJC",
LHJC_name = "L.HJC",
method = "harrington",
append = TRUE
)
data |
A data frame containing marker trajectories with columns corresponding to the names specified by the 'LASIS_name', 'RASIS_name', 'LPSIS_name', and 'RPSIS_name' parameters. |
LASIS_name |
A string specifying the column name or pattern for the left anterior superior iliac spine markers in the data. |
RASIS_name |
A string specifying the column name or pattern for the right anterior superior iliac spine markers in the data. |
LPSIS_name |
A string specifying the column name or pattern for the left posterior superior iliac spine markers in the data. |
RPSIS_name |
A string specifying the column name or pattern for the right posterior superior iliac spine markers in the data. |
RHJC_name |
A string specifying the prefix for the right hip joint center column names in the output. |
LHJC_name |
A string specifying the prefix for the left hip joint center column names in the output. |
method |
A string specifying the method to use for calculations. Options are "harrington" or "bell". Default is "harrington". |
append |
Logical. If TRUE, appends the computed hip joint center columns to the original data frame. If FALSE, returns a list containing the computed hip joint center data frames. |
A data frame with appended hip joint center columns or a list of two data frames containing the right and left hip joint centers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.