1. Descriptive Statistics

# Function to install packages if they are not already installed
getos <- Sys.info()

install_if_needed <- function(pkg) {
  if (!require(pkg, character.only = TRUE)) {
    install.packages(pkg, dependencies = TRUE)
    library(pkg, character.only = TRUE)
  }
}
install_if_needed("tidyr")
install_if_needed("dplyr")
install_if_needed("purrr")
install_if_needed("knitr")
install_if_needed("kableExtra")
install_if_needed("afex")
install_if_needed("emmeans")
install_if_needed("ggplot2")
install_if_needed("cowplot")


if (getos['sysname'] != 'Darwin') {
  d <- read.csv('G:/My Drive/00_Research/Koret_24_25/2024-25KORET/results/Total.csv')
  } else {
    d <- read.csv('/Users/chuny/Library/CloudStorage/GoogleDrive-chuny@sonoma.edu/My Drive/00_Research/Koret_24_25/2024-25KORET/results/Total.csv')
    }

d$ParticipantNo_ <- as.factor(d$ParticipantNo_)
d$Sex <- as.factor(d$Sex)
d$Condition <- as.factor(d$Condition)
d_descriptive <- d[seq(1, nrow(d), by = 7), c("Sex","Age_yr","Height_cm",
                                            "BodyMass_kg")]

# Identify columns that contain "moment" or "K" in their names
cols_to_modify <- grep("moment|HipK|KneeK|AnkleK|vGRF|LegK", names(d), value = TRUE)

# Divide each selected column by "BodyMass_kg"
for (col in cols_to_modify) {
  d[[col]] <- d[[col]] / d$BodyMass_kg
}

# Normalize the vGRF to the BW
d$vGRF_low <- d$vGRF_low / 9.81

# Calculate descriptive statistics grouped by "Sex"
descriptive_stats_by_sex <- d_descriptive %>%
  group_by(Sex) %>%
  summarise(
    N = n(),
    "Age (yr)" = paste0(round(mean(Age_yr, na.rm = TRUE), 3), " ± ", round(sd(Age_yr, na.rm = TRUE), 3)),
    "Height (cm)" = paste0(round(mean(Height_cm, na.rm = TRUE), 3), " ± ", round(sd(Height_cm, na.rm = TRUE), 3)),
    "Body Mass (kg)" = paste0(round(mean(BodyMass_kg, na.rm = TRUE), 3), " ± ", round(sd(BodyMass_kg, na.rm = TRUE), 3))
  )
fixed_width <- "150px"  # Adjust this value based on the widest content

# Display table with kable
kable_caption <- iconv("Descriptive Statistics by Sex (Mean ± SD)", to = "UTF-8")
descriptive_stats_by_sex %>%
  kable(caption = kable_caption) %>%
  kable_styling(full_width = FALSE, position = "center", font_size = 12) %>%
  column_spec(1:ncol(descriptive_stats_by_sex), width = fixed_width, extra_css = "white-space: nowrap;")
Descriptive Statistics by Sex (Mean ± SD)
Sex N Age (yr) Height (cm) Body Mass (kg)
F 6 22.5 ± 2.168 165.483 ± 6.325 66.175 ± 6.213
M 6 26 ± 5.514 180.05 ± 6.228 87.925 ± 19.239
  # Select columns from "JH" to the last column
  selected_columns <- names(d)[which(names(d) == "JH"):length(names(d))]

# Calculate descriptive statistics for selected columns grouped by "Sex"
descriptive_stats_big <- d %>%
  group_by(Sex) %>%
  summarise(
    across(all_of(selected_columns), 
           list(mean_sd = ~paste0(round(mean(.x, na.rm = TRUE), 3), " ± ", round(sd(.x, na.rm = TRUE), 3))),
           .names = "{.col}")
  )

# Convert the data to long format to automatically split wide tables
descriptive_stats_long <- descriptive_stats_big %>%
  pivot_longer(cols = -Sex, names_to = "Variable", values_to = "Mean_SD") %>%
  pivot_wider(names_from = "Variable", values_from = "Mean_SD")

fixed_width <- "300px"  # Adjust this value based on the widest content
# Display the table with kableExtra, specifying a column limit
descriptive_stats_long %>%
  kbl(caption = "Descriptive Statistics by Sex for Variables from JH to End (Mean ± SD)") %>%
  kable_styling(full_width = FALSE, position = "center", font_size = 12) %>%
  column_spec(1:ncol(descriptive_stats_by_sex), width = fixed_width, extra_css = "white-space: nowrap;") %>%
  scroll_box(width = "100%", height = "500px")
Descriptive Statistics by Sex for Variables from JH to End (Mean ± SD)
Sex JH LegK R_HipK L_HipK R_KneeK L_KneeK R_AnkleK L_AnkleK vGRF_low vCOM_contact vCOM_low R_Hip_pos_contact R_Hip_pos_low R_Hip_moment_contact R_Hip_moment_low L_Hip_pos_contact L_Hip_pos_low L_Hip_moment_contact L_Hip_moment_low R_Knee_pos_contact R_Knee_pos_low R_Knee_moment_contact R_Knee_moment_low L_Knee_pos_contact L_Knee_pos_low L_Knee_moment_contact L_Knee_moment_low R_Ankle_pos_contact R_Ankle_pos_low R_Ankle_moment_contact R_Ankle_moment_low L_Ankle_pos_contact L_Ankle_pos_low L_Ankle_moment_contact L_Ankle_moment_low
F 0.25 ± 0.036 42.536 ± 52.698 0.054 ± 0.022 0.056 ± 0.026 0.023 ± 0.018 0.022 ± 0.015 0.027 ± 0.023 0.024 ± 0.018 2.428 ± 0.279 0.973 ± 0.063 0.702 ± 0.069 33.318 ± 7.13 13.583 ± 4.783 -0.398 ± 0.243 0.493 ± 0.185 33.453 ± 6.388 14.406 ± 5.356 -0.235 ± 0.287 0.515 ± 0.257 27.383 ± 13.447 0.229 ± 3.562 -0.314 ± 0.223 -0.258 ± 0.126 26.508 ± 9.769 1.15 ± 4.287 -0.225 ± 0.191 -0.244 ± 0.154 -12.583 ± 13.896 -34.134 ± 4.456 0.019 ± 0.034 0.006 ± 0.035 -14.105 ± 13.283 -34.01 ± 5.016 0.019 ± 0.04 0.009 ± 0.028
M 0.34 ± 0.07 109.008 ± 120.957 0.058 ± 0.04 0.101 ± 0.101 0.046 ± 0.043 0.042 ± 0.031 0.043 ± 0.032 0.041 ± 0.027 2.95 ± 0.875 1.051 ± 0.067 0.776 ± 0.083 26.757 ± 7.894 10.768 ± 3.031 -0.441 ± 0.328 0.409 ± 0.412 26.264 ± 8.422 10.834 ± 3.595 -0.394 ± 0.299 0.427 ± 0.399 29.551 ± 12.884 -0.28 ± 4.566 -0.296 ± 0.201 -0.201 ± 0.116 27.323 ± 11.194 0.434 ± 4.712 -0.299 ± 0.216 -0.203 ± 0.132 -9.789 ± 12.024 -32.759 ± 7.06 0 ± 0.062 0.013 ± 0.035 -12.897 ± 12.779 -31.546 ± 6.978 0.003 ± 0.073 0.008 ± 0.041
# Calculate descriptive statistics for selected columns grouped by "Condition"
descriptive_stats_big2 <- d %>%
  group_by(Condition) %>%
  summarise(
    across(all_of(selected_columns), 
           list(mean_sd = ~paste0(round(mean(.x, na.rm = TRUE), 3), " ± ", round(sd(.x, na.rm = TRUE), 3))),
           .names = "{.col}")
  )

# Convert the data to long format to automatically split wide tables
descriptive_stats_long2 <- descriptive_stats_big2 %>%
  pivot_longer(cols = -Condition, names_to = "Variable", values_to = "Mean_SD") %>%
  pivot_wider(names_from = "Variable", values_from = "Mean_SD")

# Display the table with kableExtra, specifying a column limit
descriptive_stats_long2 %>%
  kbl(caption = "Descriptive Statistics by Condition for Variables from JH to End (Mean ± SD)") %>%
  kable_styling(full_width = FALSE, position = "center", font_size = 12) %>%
  column_spec(1:ncol(descriptive_stats_by_sex), width = fixed_width, extra_css = "white-space: nowrap;") %>%
  scroll_box(width = "100%", height = "500px")
Descriptive Statistics by Condition for Variables from JH to End (Mean ± SD)
Condition JH LegK R_HipK L_HipK R_KneeK L_KneeK R_AnkleK L_AnkleK vGRF_low vCOM_contact vCOM_low R_Hip_pos_contact R_Hip_pos_low R_Hip_moment_contact R_Hip_moment_low L_Hip_pos_contact L_Hip_pos_low L_Hip_moment_contact L_Hip_moment_low R_Knee_pos_contact R_Knee_pos_low R_Knee_moment_contact R_Knee_moment_low L_Knee_pos_contact L_Knee_pos_low L_Knee_moment_contact L_Knee_moment_low R_Ankle_pos_contact R_Ankle_pos_low R_Ankle_moment_contact R_Ankle_moment_low L_Ankle_pos_contact L_Ankle_pos_low L_Ankle_moment_contact L_Ankle_moment_low
CMJ 0.347 ± 0.073 71.908 ± 47.137 0.057 ± 0.04 0.062 ± 0.049 0.018 ± 0.014 0.014 ± 0.01 0.053 ± 0.039 0.049 ± 0.03 1.966 ± 0.212 0.931 ± 0.065 0.699 ± 0.068 32.025 ± 11.649 14.481 ± 3.826 -0.141 ± 0.167 0.583 ± 0.282 32.318 ± 11.048 14.45 ± 4.636 -0.146 ± 0.139 0.57 ± 0.333 28.819 ± 10.215 4.307 ± 4.652 0.041 ± 0.142 -0.16 ± 0.132 29.654 ± 9.643 4.691 ± 5.434 0.032 ± 0.118 -0.163 ± 0.181 8.928 ± 5.033 -28.58 ± 6.651 -0.088 ± 0.071 -0.003 ± 0.059 9.695 ± 3.807 -28.329 ± 7.243 -0.103 ± 0.087 0 ± 0.057
in04 0.281 ± 0.074 173.274 ± 143.259 0.068 ± 0.043 0.126 ± 0.14 0.069 ± 0.06 0.055 ± 0.038 0.06 ± 0.033 0.05 ± 0.029 2.937 ± 0.77 0.976 ± 0.061 0.762 ± 0.092 35.208 ± 8.009 10.853 ± 4.57 -0.425 ± 0.352 0.412 ± 0.383 34.07 ± 8.481 11.335 ± 5.407 -0.147 ± 0.373 0.404 ± 0.344 41.69 ± 16.054 0.006 ± 4.098 -0.229 ± 0.217 -0.223 ± 0.153 35.339 ± 13.823 0.597 ± 4.491 -0.144 ± 0.213 -0.243 ± 0.174 -2.449 ± 10.368 -34.88 ± 5.052 0.009 ± 0.017 0.015 ± 0.035 -7.405 ± 10.889 -33.484 ± 5.353 0.022 ± 0.015 0.006 ± 0.034
in08 0.286 ± 0.064 101.925 ± 74.992 0.054 ± 0.026 0.077 ± 0.046 0.05 ± 0.028 0.039 ± 0.024 0.04 ± 0.021 0.034 ± 0.017 2.779 ± 0.642 1.002 ± 0.063 0.752 ± 0.086 34.766 ± 6.667 11.646 ± 4.474 -0.373 ± 0.287 0.411 ± 0.304 32.168 ± 7.373 12.055 ± 5.319 -0.21 ± 0.335 0.462 ± 0.36 37.573 ± 13.831 -0.697 ± 3.898 -0.283 ± 0.144 -0.238 ± 0.121 29.272 ± 10.726 -0.047 ± 4.532 -0.255 ± 0.159 -0.22 ± 0.141 -6.071 ± 9.823 -34.141 ± 5.973 0.012 ± 0.02 0.013 ± 0.032 -13.294 ± 9.682 -33.321 ± 6.784 0.028 ± 0.019 0.011 ± 0.031
in12 0.289 ± 0.068 84.222 ± 106.557 0.053 ± 0.028 0.084 ± 0.101 0.035 ± 0.027 0.036 ± 0.026 0.03 ± 0.027 0.03 ± 0.022 2.84 ± 0.826 1.018 ± 0.061 0.741 ± 0.09 29.511 ± 7.828 11.604 ± 4.044 -0.46 ± 0.209 0.456 ± 0.374 30.144 ± 8.811 12.156 ± 4.175 -0.355 ± 0.286 0.486 ± 0.39 26.431 ± 10.258 -0.978 ± 3.974 -0.41 ± 0.144 -0.24 ± 0.119 26.911 ± 9.531 0.129 ± 4.042 -0.34 ± 0.176 -0.218 ± 0.132 -16.314 ± 7.16 -34.154 ± 5.4 0.023 ± 0.016 0.009 ± 0.029 -17.935 ± 7.12 -33.296 ± 5.879 0.027 ± 0.014 0.011 ± 0.028
in16 0.288 ± 0.073 52.127 ± 72.638 0.052 ± 0.024 0.063 ± 0.037 0.028 ± 0.025 0.031 ± 0.025 0.025 ± 0.019 0.023 ± 0.018 2.776 ± 0.688 1.038 ± 0.064 0.741 ± 0.094 27.515 ± 5.793 11.975 ± 3.813 -0.486 ± 0.285 0.466 ± 0.301 28.176 ± 6.946 12.539 ± 5.004 -0.412 ± 0.282 0.453 ± 0.334 23.621 ± 9.599 -0.709 ± 3.416 -0.393 ± 0.121 -0.231 ± 0.109 24.194 ± 8.491 -0.341 ± 3.606 -0.347 ± 0.147 -0.253 ± 0.126 -19.513 ± 6.35 -34.55 ± 5.893 0.03 ± 0.015 0.014 ± 0.03 -20.847 ± 6.639 -34.191 ± 5.23 0.03 ± 0.015 0.007 ± 0.031
in20 0.285 ± 0.067 43.246 ± 90.319 0.057 ± 0.043 0.084 ± 0.071 0.027 ± 0.026 0.028 ± 0.022 0.021 ± 0.017 0.025 ± 0.02 2.841 ± 0.727 1.051 ± 0.063 0.744 ± 0.086 26.792 ± 4.955 11.961 ± 4.805 -0.545 ± 0.314 0.424 ± 0.349 27.08 ± 6.279 12.509 ± 5.426 -0.441 ± 0.22 0.447 ± 0.318 22.086 ± 6.281 -0.976 ± 2.593 -0.436 ± 0.114 -0.247 ± 0.121 22.526 ± 6.163 0.044 ± 3.19 -0.378 ± 0.111 -0.238 ± 0.12 -20.781 ± 6.122 -34.304 ± 5.354 0.037 ± 0.012 0.012 ± 0.028 -22 ± 5.735 -34.03 ± 5.616 0.035 ± 0.013 0.01 ± 0.031
in24 0.29 ± 0.077 3.704 ± 38.991 0.049 ± 0.017 0.057 ± 0.024 0.015 ± 0.016 0.021 ± 0.015 0.016 ± 0.007 0.017 ± 0.014 2.683 ± 0.474 1.067 ± 0.071 0.734 ± 0.078 24.445 ± 5.433 12.706 ± 4.045 -0.504 ± 0.218 0.408 ± 0.281 25.052 ± 5.735 13.297 ± 4.683 -0.49 ± 0.265 0.475 ± 0.335 19.05 ± 7.673 -1.13 ± 3.589 -0.425 ± 0.094 -0.267 ± 0.113 20.512 ± 7.654 0.473 ± 4.744 -0.403 ± 0.099 -0.228 ± 0.145 -22.103 ± 5.213 -33.516 ± 5.839 0.042 ± 0.013 0.009 ± 0.031 -22.717 ± 5.943 -32.794 ± 6.296 0.041 ± 0.018 0.013 ± 0.033
# Calculate descriptive statistics for selected columns grouped by "Sex and Condition"
descriptive_stats_big3 <- d %>%
  group_by(Sex, Condition) %>%
  summarise(
    across(all_of(selected_columns), 
           list(mean_sd = ~paste0(round(mean(.x, na.rm = TRUE), 3), " ± ", round(sd(.x, na.rm = TRUE), 3))),
           .names = "{.col}")
  )

# Convert the data to long format to automatically split wide tables
descriptive_stats_long3 <- descriptive_stats_big3 %>%
  pivot_longer(cols = -c(Sex, Condition), names_to = "Variable", values_to = "Mean_SD") %>%
  pivot_wider(names_from = "Variable", values_from = "Mean_SD")

# Display the table with kableExtra, specifying a column limit
descriptive_stats_long3 %>%
  kbl(caption = "Descriptive Statistics by Sex and Condition for Variables from JH to End (Mean ± SD)") %>%
  kable_styling(full_width = FALSE, position = "center", font_size = 12) %>%
  column_spec(1:ncol(descriptive_stats_by_sex), width = fixed_width, extra_css = "white-space: nowrap;") %>%
  scroll_box(width = "100%", height = "500px")
Descriptive Statistics by Sex and Condition for Variables from JH to End (Mean ± SD)
Sex Condition JH LegK R_HipK L_HipK R_KneeK L_KneeK R_AnkleK L_AnkleK vGRF_low vCOM_contact vCOM_low R_Hip_pos_contact R_Hip_pos_low R_Hip_moment_contact R_Hip_moment_low L_Hip_pos_contact L_Hip_pos_low L_Hip_moment_contact L_Hip_moment_low R_Knee_pos_contact R_Knee_pos_low R_Knee_moment_contact R_Knee_moment_low L_Knee_pos_contact L_Knee_pos_low L_Knee_moment_contact L_Knee_moment_low R_Ankle_pos_contact R_Ankle_pos_low R_Ankle_moment_contact R_Ankle_moment_low L_Ankle_pos_contact L_Ankle_pos_low L_Ankle_moment_contact L_Ankle_moment_low
F CMJ 0.297 ± 0.036 87.421 ± 44.767 0.073 ± 0.045 0.077 ± 0.06 0.019 ± 0.016 0.014 ± 0.015 0.052 ± 0.021 0.052 ± 0.02 1.943 ± 0.208 0.88 ± 0.034 0.708 ± 0.076 37.211 ± 12.469 15.367 ± 5.045 -0.168 ± 0.156 0.588 ± 0.22 36.831 ± 11.557 15.24 ± 6.199 -0.136 ± 0.08 0.658 ± 0.235 31.917 ± 10.499 5.65 ± 2.524 0.077 ± 0.12 -0.2 ± 0.139 31.174 ± 9.123 5.309 ± 4.928 0.05 ± 0.046 -0.149 ± 0.143 10.597 ± 3.789 -28.323 ± 4.85 -0.056 ± 0.011 -0.032 ± 0.057 10.942 ± 3.112 -28.458 ± 5.511 -0.058 ± 0.049 0.012 ± 0.036
F in04 0.249 ± 0.023 111.988 ± 42.293 0.061 ± 0.026 0.072 ± 0.022 0.047 ± 0.022 0.04 ± 0.021 0.045 ± 0.03 0.035 ± 0.016 2.635 ± 0.244 0.942 ± 0.041 0.713 ± 0.067 39.474 ± 3.408 12.488 ± 5.538 -0.35 ± 0.217 0.457 ± 0.281 38.831 ± 5.267 13.305 ± 6.705 0.011 ± 0.238 0.414 ± 0.276 40.937 ± 17.729 -0.058 ± 3.156 -0.207 ± 0.249 -0.267 ± 0.178 36.753 ± 15.93 0.518 ± 4.255 -0.048 ± 0.14 -0.306 ± 0.197 -4.596 ± 11.468 -35.67 ± 3.553 0.017 ± 0.013 0.014 ± 0.036 -9.751 ± 12.62 -34.98 ± 4.372 0.025 ± 0.02 0 ± 0.029
F in08 0.244 ± 0.027 70.892 ± 26.768 0.05 ± 0.012 0.055 ± 0.01 0.039 ± 0.013 0.028 ± 0.014 0.032 ± 0.021 0.025 ± 0.013 2.526 ± 0.161 0.966 ± 0.043 0.705 ± 0.071 38.104 ± 2.688 12.28 ± 5.129 -0.292 ± 0.159 0.471 ± 0.126 34.808 ± 4.773 13.25 ± 6.135 -0.092 ± 0.328 0.519 ± 0.262 37.035 ± 16.127 -0.447 ± 3.241 -0.285 ± 0.07 -0.264 ± 0.134 27.448 ± 9.999 0.453 ± 4.676 -0.207 ± 0.15 -0.238 ± 0.157 -7.802 ± 12.154 -35.692 ± 3.477 0.017 ± 0.018 0.015 ± 0.03 -13.785 ± 10.73 -35.42 ± 4.183 0.031 ± 0.02 0.012 ± 0.031
F in12 0.248 ± 0.03 36.616 ± 11.783 0.05 ± 0.01 0.053 ± 0.009 0.023 ± 0.006 0.024 ± 0.008 0.019 ± 0.019 0.019 ± 0.009 2.532 ± 0.233 0.983 ± 0.041 0.703 ± 0.075 32.448 ± 5.191 12.953 ± 4.713 -0.414 ± 0.15 0.544 ± 0.169 33.697 ± 4.557 13.844 ± 4.333 -0.246 ± 0.274 0.57 ± 0.299 23.316 ± 8.329 -0.635 ± 4.208 -0.451 ± 0.136 -0.245 ± 0.121 25.282 ± 4.378 0.627 ± 4.154 -0.324 ± 0.137 -0.228 ± 0.17 -19.414 ± 7.259 -34.471 ± 3.654 0.034 ± 0.008 0.011 ± 0.026 -19.418 ± 5.624 -34.431 ± 4.897 0.032 ± 0.017 0.014 ± 0.029
F in16 0.237 ± 0.035 14.645 ± 15.182 0.051 ± 0.012 0.047 ± 0.008 0.015 ± 0.009 0.017 ± 0.009 0.016 ± 0.011 0.013 ± 0.01 2.46 ± 0.207 1.003 ± 0.051 0.693 ± 0.085 29.676 ± 3.855 13.698 ± 4.175 -0.453 ± 0.274 0.524 ± 0.136 31.413 ± 2.853 14.785 ± 5.099 -0.326 ± 0.284 0.504 ± 0.258 20.375 ± 7.484 -0.264 ± 2.01 -0.411 ± 0.106 -0.246 ± 0.1 23.024 ± 4.568 0.6 ± 3.66 -0.31 ± 0.134 -0.261 ± 0.141 -21.862 ± 5.971 -35.21 ± 4.217 0.035 ± 0.004 0.015 ± 0.02 -21.659 ± 5.376 -35.12 ± 4.322 0.028 ± 0.018 0.006 ± 0.026
F in20 0.237 ± 0.031 -3.431 ± 11.172 0.047 ± 0.014 0.049 ± 0.007 0.013 ± 0.01 0.016 ± 0.009 0.014 ± 0.012 0.015 ± 0.008 2.49 ± 0.175 1.012 ± 0.047 0.701 ± 0.068 29.324 ± 3.603 13.961 ± 5.783 -0.576 ± 0.326 0.454 ± 0.145 30.532 ± 3.392 15.03 ± 5.916 -0.44 ± 0.257 0.437 ± 0.169 20.006 ± 5.905 -1.026 ± 2.177 -0.467 ± 0.09 -0.282 ± 0.129 21.895 ± 5.195 0.265 ± 3.201 -0.362 ± 0.111 -0.276 ± 0.123 -22.128 ± 6.352 -34.839 ± 3.467 0.04 ± 0.007 0.014 ± 0.029 -22.491 ± 5.669 -35.469 ± 4.051 0.035 ± 0.01 0.009 ± 0.03
F in24 0.237 ± 0.038 -20.377 ± 18.357 0.045 ± 0.012 0.042 ± 0.004 0.006 ± 0.008 0.011 ± 0.008 0.011 ± 0.005 0.008 ± 0.003 2.405 ± 0.132 1.025 ± 0.057 0.689 ± 0.073 26.986 ± 3.54 14.332 ± 4.842 -0.531 ± 0.201 0.417 ± 0.21 28.059 ± 3.049 15.388 ± 5.324 -0.419 ± 0.267 0.502 ± 0.327 18.096 ± 5.78 -1.614 ± 2.768 -0.454 ± 0.063 -0.305 ± 0.113 19.98 ± 5.697 0.278 ± 4.606 -0.374 ± 0.08 -0.247 ± 0.174 -22.874 ± 4.08 -34.736 ± 4.752 0.047 ± 0.009 0.008 ± 0.029 -22.571 ± 4.652 -34.193 ± 5.957 0.042 ± 0.013 0.011 ± 0.027
M CMJ 0.396 ± 0.068 56.395 ± 48.027 0.041 ± 0.03 0.047 ± 0.034 0.017 ± 0.014 0.014 ± 0.004 0.053 ± 0.054 0.047 ± 0.039 1.988 ± 0.233 0.983 ± 0.042 0.69 ± 0.065 26.838 ± 8.859 13.596 ± 2.208 -0.115 ± 0.189 0.579 ± 0.355 27.804 ± 9.28 13.661 ± 2.712 -0.157 ± 0.189 0.481 ± 0.412 25.721 ± 9.814 2.964 ± 6.075 0.004 ± 0.163 -0.12 ± 0.123 28.134 ± 10.762 4.072 ± 6.306 0.014 ± 0.166 -0.176 ± 0.225 7.259 ± 5.89 -28.838 ± 8.581 -0.121 ± 0.092 0.025 ± 0.049 8.448 ± 4.297 -28.201 ± 9.22 -0.148 ± 0.097 -0.011 ± 0.075
M in04 0.314 ± 0.094 234.559 ± 185.332 0.075 ± 0.057 0.18 ± 0.188 0.091 ± 0.08 0.069 ± 0.048 0.075 ± 0.031 0.065 ± 0.033 3.24 ± 1.012 1.009 ± 0.061 0.811 ± 0.092 30.942 ± 9.264 9.219 ± 2.977 -0.501 ± 0.46 0.367 ± 0.489 29.31 ± 8.725 9.365 ± 3.171 -0.305 ± 0.436 0.394 ± 0.429 42.443 ± 15.854 0.071 ± 5.194 -0.251 ± 0.201 -0.18 ± 0.125 33.926 ± 12.72 0.677 ± 5.123 -0.239 ± 0.242 -0.18 ± 0.134 -0.301 ± 9.691 -34.09 ± 6.483 0.002 ± 0.018 0.016 ± 0.037 -5.059 ± 9.402 -31.988 ± 6.209 0.02 ± 0.009 0.012 ± 0.039
M in08 0.328 ± 0.063 132.959 ± 96.666 0.058 ± 0.036 0.098 ± 0.059 0.06 ± 0.035 0.05 ± 0.029 0.049 ± 0.019 0.042 ± 0.018 3.032 ± 0.852 1.039 ± 0.061 0.798 ± 0.079 31.428 ± 7.988 11.012 ± 4.093 -0.454 ± 0.375 0.351 ± 0.423 29.529 ± 8.95 10.86 ± 4.603 -0.328 ± 0.325 0.405 ± 0.457 38.111 ± 12.652 -0.946 ± 4.773 -0.281 ± 0.202 -0.211 ± 0.112 31.096 ± 12.048 -0.548 ± 4.766 -0.303 ± 0.165 -0.203 ± 0.136 -4.341 ± 7.574 -32.59 ± 7.787 0.007 ± 0.022 0.011 ± 0.036 -12.803 ± 9.513 -31.222 ± 8.554 0.024 ± 0.019 0.009 ± 0.034
M in12 0.329 ± 0.074 131.829 ± 139.289 0.057 ± 0.04 0.115 ± 0.142 0.047 ± 0.035 0.047 ± 0.033 0.041 ± 0.031 0.041 ± 0.026 3.149 ± 1.104 1.054 ± 0.059 0.78 ± 0.092 26.573 ± 9.337 10.254 ± 3.064 -0.507 ± 0.261 0.368 ± 0.51 26.591 ± 10.943 10.467 ± 3.568 -0.464 ± 0.277 0.401 ± 0.478 29.547 ± 11.783 -1.321 ± 4.093 -0.369 ± 0.153 -0.234 ± 0.129 28.54 ± 13.202 -0.37 ± 4.253 -0.356 ± 0.22 -0.207 ± 0.096 -13.213 ± 6.085 -33.838 ± 7.11 0.013 ± 0.015 0.007 ± 0.034 -16.452 ± 8.639 -32.161 ± 6.997 0.023 ± 0.009 0.008 ± 0.029
M in16 0.339 ± 0.064 89.608 ± 89.474 0.054 ± 0.033 0.079 ± 0.048 0.041 ± 0.029 0.046 ± 0.029 0.034 ± 0.022 0.034 ± 0.018 3.091 ± 0.872 1.073 ± 0.06 0.788 ± 0.083 25.354 ± 6.91 10.252 ± 2.725 -0.519 ± 0.318 0.407 ± 0.415 24.939 ± 8.535 10.294 ± 4.122 -0.499 ± 0.276 0.403 ± 0.416 26.867 ± 11.019 -1.154 ± 4.599 -0.374 ± 0.142 -0.216 ± 0.124 25.364 ± 11.596 -1.282 ± 3.618 -0.384 ± 0.162 -0.246 ± 0.123 -17.163 ± 6.309 -33.891 ± 7.587 0.026 ± 0.021 0.013 ± 0.04 -20.036 ± 8.153 -33.262 ± 6.279 0.031 ± 0.013 0.008 ± 0.037
M in20 0.334 ± 0.057 89.922 ± 112.218 0.068 ± 0.061 0.119 ± 0.09 0.041 ± 0.029 0.041 ± 0.025 0.027 ± 0.02 0.034 ± 0.025 3.192 ± 0.915 1.089 ± 0.055 0.788 ± 0.085 24.259 ± 5.065 9.961 ± 2.785 -0.514 ± 0.329 0.394 ± 0.495 23.628 ± 6.829 9.988 ± 3.811 -0.443 ± 0.202 0.457 ± 0.44 24.166 ± 6.445 -0.927 ± 3.169 -0.404 ± 0.135 -0.213 ± 0.112 23.157 ± 7.457 -0.177 ± 3.466 -0.395 ± 0.12 -0.199 ± 0.114 -19.434 ± 6.144 -33.769 ± 7.096 0.033 ± 0.016 0.01 ± 0.03 -21.51 ± 6.297 -32.591 ± 6.928 0.034 ± 0.017 0.012 ± 0.035
M in24 0.342 ± 0.07 27.786 ± 40.198 0.054 ± 0.02 0.072 ± 0.028 0.025 ± 0.016 0.03 ± 0.016 0.02 ± 0.006 0.026 ± 0.015 2.961 ± 0.539 1.11 ± 0.06 0.779 ± 0.057 21.905 ± 6.076 11.079 ± 2.491 -0.476 ± 0.25 0.399 ± 0.361 22.044 ± 6.43 11.205 ± 3.068 -0.56 ± 0.267 0.449 ± 0.371 20.004 ± 9.692 -0.646 ± 4.486 -0.395 ± 0.115 -0.229 ± 0.11 21.044 ± 9.785 0.668 ± 5.31 -0.433 ± 0.115 -0.209 ± 0.123 -21.331 ± 6.458 -32.296 ± 6.99 0.038 ± 0.015 0.01 ± 0.036 -22.863 ± 7.483 -31.395 ± 6.857 0.039 ± 0.023 0.016 ± 0.041

2. Statistical Analysis

1. 2X7 Mixed ANOVA

# Loop through each variable and run the ANOVA
results <- list()
variables <- names(d)[which(names(d) == "JH"):which(names(d) == "L_Ankle_moment_low")]

for (var in variables) {
  # Print the current variable name
  cat("\n==============================\n")
  cat("Variable:", var, "\n")
  cat("==============================\n")
  
  # Run the mixed ANOVA
  anova_model <- aov_ez(
    id     = "ParticipantNo_",  # Participant ID column
    dv     = var,               # Dependent variable
    data   = d,
    within = "Condition",       # Within-subject factor
    between= "Sex"              # Between-subject factor
  )
  
  # Get the ANOVA summary
  anova_summary <- summary(anova_model)
  
  # Store and print the summary for this variable
  results[[var]] <- anova_summary
  print(anova_summary)
  
  # Extract p-values from the afex object for Condition, Sex, and Sex:Condition
  anova_table <- anova_model$anova_table
  row_names   <- rownames(anova_table)
  
  idx_condition   <- which(row_names == "Condition")
  idx_sex         <- which(row_names == "Sex")
  idx_interaction <- which(row_names == "Sex:Condition")
  
  p_condition   <- if(length(idx_condition) > 0) anova_table$`Pr(>F)`[idx_condition] else NA
  p_sex         <- if(length(idx_sex) > 0) anova_table$`Pr(>F)`[idx_sex] else NA
  p_interaction <- if(length(idx_interaction) > 0) anova_table$`Pr(>F)`[idx_interaction] else NA
  
  # Decide which post-hoc tests to run
  # 1) If the interaction is significant => run post-hoc for Sex x Condition.
  # 2) If the interaction is not significant:
  #      a) If the main effect of Condition is significant => run post-hoc for Condition.
  #      b) If the main effect of Sex is significant => run post-hoc for Sex.
  alpha <- 0.05
  
  if (!is.na(p_interaction) && p_interaction < alpha) {
    cat("\nSignificant interaction: running post-hoc for Sex x Condition\n")
    posthoc <- emmeans(anova_model, pairwise ~ Condition * Sex)
    
    # Store the emmeans object and pairwise comparisons
    results[[paste0(var, "_posthoc_interaction_emm")]] <- posthoc$emmeans
    results[[paste0(var, "_posthoc_interaction_pairs")]] <- posthoc$contrasts
    
    cat("\n--- Estimated marginal means (interaction) ---\n")
    print(posthoc$emmeans)
    cat("\n--- Pairwise comparisons (interaction) ---\n")
    print(posthoc$contrasts)
    
  } else {
    # Check for the Condition main effect
    if (!is.na(p_condition) && p_condition < alpha) {
      cat("\nSignificant main effect of Condition (no significant interaction): running post-hoc for Condition\n")
      posthoc_cond <- emmeans(anova_model, pairwise ~ Condition)
      
      results[[paste0(var, "_posthoc_condition_emm")]] <- posthoc_cond$emmeans
      results[[paste0(var, "_posthoc_condition_pairs")]] <- posthoc_cond$contrasts
      
      cat("\n--- Estimated marginal means (Condition) ---\n")
      print(posthoc_cond$emmeans)
      cat("\n--- Pairwise comparisons (Condition) ---\n")
      print(posthoc_cond$contrasts)
    }
    
    # Check for the Sex main effect
    if (!is.na(p_sex) && p_sex < alpha) {
      cat("\nSignificant main effect of Sex (no significant interaction): running post-hoc for Sex\n")
      posthoc_sex <- emmeans(anova_model, pairwise ~ Sex)
      
      results[[paste0(var, "_posthoc_sex_emm")]] <- posthoc_sex$emmeans
      results[[paste0(var, "_posthoc_sex_pairs")]] <- posthoc_sex$contrasts
      
      cat("\n--- Estimated marginal means (Sex) ---\n")
      print(posthoc_sex$emmeans)
      cat("\n--- Pairwise comparisons (Sex) ---\n")
      print(posthoc_sex$contrasts)
    }
  }
}
## 
## ==============================
## Variable: JH 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)   7.3124      1 0.193050     10 378.7804 2.801e-09 ***
## Sex           0.1726      1 0.193050     10   8.9383   0.01358 *  
## Condition     0.0378      6 0.017642     60  21.4318 2.850e-13 ***
## Sex:Condition 0.0037      6 0.017642     60   2.1076   0.06547 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition           0.013221 0.039325
## Sex:Condition       0.013221 0.039325
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.41857   1.11e-06 ***
## Sex:Condition 0.41857      0.133    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.5703359 2.051581e-08
## Sex:Condition 0.5703359 1.101163e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean     SE df lower.CL upper.CL
##  CMJ        0.347 0.0156 10    0.312    0.381
##  in04       0.281 0.0198 10    0.237    0.325
##  in08       0.286 0.0140 10    0.255    0.317
##  in12       0.289 0.0163 10    0.252    0.325
##  in16       0.288 0.0149 10    0.255    0.321
##  in20       0.285 0.0132 10    0.256    0.315
##  in24       0.290 0.0162 10    0.254    0.326
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast     estimate      SE df t.ratio p.value
##  CMJ - in04   0.065329 0.01160 10   5.627  0.0028
##  CMJ - in08   0.060725 0.00670 10   9.065  0.0001
##  CMJ - in12   0.058108 0.00623 10   9.329  <.0001
##  CMJ - in16   0.058851 0.00702 10   8.380  0.0001
##  CMJ - in20   0.061202 0.00586 10  10.450  <.0001
##  CMJ - in24   0.057014 0.00688 10   8.282  0.0001
##  in04 - in08 -0.004604 0.00850 10  -0.542  0.9973
##  in04 - in12 -0.007221 0.00902 10  -0.800  0.9795
##  in04 - in16 -0.006478 0.01060 10  -0.612  0.9948
##  in04 - in20 -0.004127 0.01120 10  -0.368  0.9997
##  in04 - in24 -0.008315 0.00949 10  -0.877  0.9684
##  in08 - in12 -0.002617 0.00467 10  -0.560  0.9968
##  in08 - in16 -0.001874 0.00333 10  -0.563  0.9967
##  in08 - in20  0.000477 0.00376 10   0.127  1.0000
##  in08 - in24 -0.003711 0.00442 10  -0.840  0.9743
##  in12 - in16  0.000743 0.00468 10   0.159  1.0000
##  in12 - in20  0.003094 0.00532 10   0.581  0.9960
##  in12 - in24 -0.001094 0.00491 10  -0.223  1.0000
##  in16 - in20  0.002351 0.00397 10   0.592  0.9956
##  in16 - in24 -0.001837 0.00480 10  -0.383  0.9996
##  in20 - in24 -0.004188 0.00429 10  -0.977  0.9483
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## Significant main effect of Sex (no significant interaction): running post-hoc for Sex
## 
## --- Estimated marginal means (Sex) ---
##  Sex emmean     SE df lower.CL upper.CL
##  F     0.25 0.0214 10    0.202    0.297
##  M     0.34 0.0214 10    0.293    0.388
## 
## Results are averaged over the levels of: Condition 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Sex) ---
##  contrast estimate     SE df t.ratio p.value
##  F - M     -0.0906 0.0303 10  -2.990  0.0136
## 
## Results are averaged over the levels of: Condition 
## 
## ==============================
## Variable: LegK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   482281      1   284906     10 16.9277  0.002096 ** 
## Sex            92789      1   284906     10  3.2568  0.101279    
## Condition     205053      6   179870     60 11.4001 1.822e-08 ***
## Sex:Condition  43884      6   179870     60  2.4398  0.035444 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition           9.09e-05 2.2384e-07
## Sex:Condition       9.09e-05 2.2384e-07
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.38439  0.0002232 ***
## Sex:Condition 0.38439  0.1028811    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.5062572 3.370246e-05
## Sex:Condition 0.5062572 8.281776e-02
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean    SE df lower.CL upper.CL
##  CMJ         71.9 13.40 10    42.05    101.8
##  in04       173.3 38.80 10    86.81    259.7
##  in08       101.9 20.50 10    56.31    147.5
##  in12        84.2 28.50 10    20.64    147.8
##  in16        52.1 18.50 10    10.85     93.4
##  in20        43.2 23.00 10    -8.05     94.5
##  in24         3.7  9.02 10   -16.39     23.8
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04   -101.37 35.10 10  -2.888  0.1480
##  CMJ - in08    -30.02 21.30 10  -1.408  0.7871
##  CMJ - in12    -12.31 22.50 10  -0.548  0.9971
##  CMJ - in16     19.78 13.40 10   1.473  0.7542
##  CMJ - in20     28.66 17.50 10   1.635  0.6667
##  CMJ - in24     68.20 10.40 10   6.575  0.0008
##  in04 - in08    71.35 27.50 10   2.598  0.2222
##  in04 - in12    89.05 30.30 10   2.937  0.1380
##  in04 - in16   121.15 30.80 10   3.928  0.0317
##  in04 - in20   130.03 33.90 10   3.838  0.0363
##  in04 - in24   169.57 36.20 10   4.681  0.0105
##  in08 - in12    17.70 19.40 10   0.911  0.9624
##  in08 - in16    49.80 15.10 10   3.302  0.0808
##  in08 - in20    58.68 19.80 10   2.970  0.1315
##  in08 - in24    98.22 19.90 10   4.938  0.0073
##  in12 - in16    32.10 10.70 10   3.012  0.1237
##  in12 - in20    40.98  8.05 10   5.092  0.0059
##  in12 - in24    80.52 23.20 10   3.467  0.0632
##  in16 - in20     8.88  6.92 10   1.283  0.8453
##  in16 - in24    48.42 13.10 10   3.699  0.0447
##  in20 - in24    39.54 17.10 10   2.313  0.3233
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_HipK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.262892      1 0.050854     10 51.6954 2.961e-05 ***
## Sex           0.000362      1 0.050854     10  0.0712    0.7950    
## Condition     0.002730      6 0.027420     60  0.9955    0.4367    
## Sex:Condition 0.004933      6 0.027420     60  1.7989    0.1146    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition          0.0010926 0.00016436
## Sex:Condition      0.0010926 0.00016436
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])
## Condition     0.48383     0.4068
## Sex:Condition 0.48383     0.1708
## 
##                  HF eps Pr(>F[HF])
## Condition     0.7029426  0.4234195
## Sex:Condition 0.7029426  0.1439653
## 
## ==============================
## Variable: L_HipK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.52292      1  0.22292     10 23.4581 0.0006781 ***
## Sex           0.04224      1  0.22292     10  1.8949 0.1986815    
## Condition     0.03923      6  0.15511     60  2.5292 0.0300169 *  
## Sex:Condition 0.03297      6  0.15511     60  2.1258 0.0633128 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         3.3622e-05 1.3101e-08
## Sex:Condition     3.3622e-05 1.3101e-08
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])
## Condition     0.30512     0.1108
## Sex:Condition 0.30512     0.1507
## 
##                  HF eps Pr(>F[HF])
## Condition     0.3700475 0.09770905
## Sex:Condition 0.3700475 0.13895385
## 
## ==============================
## Variable: R_KneeK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.099707      1 0.026370     10 37.8106 0.0001085 ***
## Sex           0.010872      1 0.026370     10  4.1228 0.0697488 .  
## Condition     0.025867      6 0.034679     60  7.4589 5.417e-06 ***
## Sex:Condition 0.003192      6 0.034679     60  0.9203 0.4868753    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         1.7869e-05 2.0619e-09
## Sex:Condition     1.7869e-05 2.0619e-09
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])  
## Condition     0.22438     0.0116 *
## Sex:Condition 0.22438     0.3844  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps  Pr(>F[HF])
## Condition     0.2467032 0.009216129
## Sex:Condition 0.2467032 0.391912729
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean      SE df lower.CL upper.CL
##  CMJ       0.0178 0.00436 10  0.00808   0.0275
##  in04      0.0689 0.01690 10  0.03123   0.1065
##  in08      0.0495 0.00773 10  0.03228   0.0667
##  in12      0.0349 0.00725 10  0.01869   0.0510
##  in16      0.0281 0.00621 10  0.01425   0.0419
##  in20      0.0268 0.00636 10  0.01262   0.0409
##  in24      0.0153 0.00361 10  0.00723   0.0233
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate      SE df t.ratio p.value
##  CMJ - in04  -0.05106 0.01810 10  -2.815  0.1643
##  CMJ - in08  -0.03171 0.00905 10  -3.506  0.0596
##  CMJ - in12  -0.01705 0.00656 10  -2.598  0.2223
##  CMJ - in16  -0.01028 0.00571 10  -1.802  0.5743
##  CMJ - in20  -0.00898 0.00622 10  -1.444  0.7690
##  CMJ - in24   0.00253 0.00413 10   0.612  0.9948
##  in04 - in08  0.01935 0.01040 10   1.863  0.5404
##  in04 - in12  0.03401 0.01550 10   2.193  0.3750
##  in04 - in16  0.04078 0.01600 10   2.549  0.2376
##  in04 - in20  0.04208 0.01760 10   2.387  0.2943
##  in04 - in24  0.05359 0.01690 10   3.165  0.0989
##  in08 - in12  0.01466 0.00636 10   2.306  0.3260
##  in08 - in16  0.02143 0.00671 10   3.194  0.0948
##  in08 - in20  0.02273 0.00814 10   2.793  0.1695
##  in08 - in24  0.03424 0.00749 10   4.571  0.0123
##  in12 - in16  0.00677 0.00205 10   3.302  0.0807
##  in12 - in20  0.00807 0.00343 10   2.350  0.3084
##  in12 - in24  0.01958 0.00485 10   4.035  0.0270
##  in16 - in20  0.00130 0.00269 10   0.483  0.9986
##  in16 - in24  0.01281 0.00350 10   3.663  0.0472
##  in20 - in24  0.01151 0.00344 10   3.349  0.0753
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_KneeK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.085868      1 0.021612     10 39.7325 8.870e-05 ***
## Sex           0.009192      1 0.021612     10  4.2531   0.06613 .  
## Condition     0.012334      6 0.013725     60  8.9862 5.293e-07 ***
## Sex:Condition 0.001856      6 0.013725     60  1.3521   0.24874    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition          0.0010321 0.00014273
## Sex:Condition      0.0010321 0.00014273
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])   
## Condition     0.35194   0.001304 **
## Sex:Condition 0.35194   0.281126   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.4485176 0.0003975565
## Sex:Condition 0.4485176 0.2784104284
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean      SE df lower.CL upper.CL
##  CMJ       0.0143 0.00312 10  0.00732   0.0212
##  in04      0.0545 0.01060 10  0.03091   0.0781
##  in08      0.0389 0.00649 10  0.02441   0.0533
##  in12      0.0359 0.00700 10  0.02031   0.0515
##  in16      0.0315 0.00618 10  0.01770   0.0452
##  in20      0.0281 0.00549 10  0.01590   0.0404
##  in24      0.0206 0.00362 10  0.01258   0.0287
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate      SE df t.ratio p.value
##  CMJ - in04  -0.04023 0.01070 10  -3.771  0.0401
##  CMJ - in08  -0.02461 0.00662 10  -3.717  0.0435
##  CMJ - in12  -0.02164 0.00659 10  -3.286  0.0827
##  CMJ - in16  -0.01720 0.00611 10  -2.814  0.1645
##  CMJ - in20  -0.01386 0.00543 10  -2.551  0.2368
##  CMJ - in24  -0.00636 0.00352 10  -1.807  0.5715
##  in04 - in08  0.01562 0.00555 10   2.815  0.1643
##  in04 - in12  0.01859 0.00859 10   2.165  0.3876
##  in04 - in16  0.02303 0.00855 10   2.694  0.1948
##  in04 - in20  0.02637 0.00932 10   2.830  0.1607
##  in04 - in24  0.03387 0.00908 10   3.732  0.0425
##  in08 - in12  0.00296 0.00540 10   0.549  0.9971
##  in08 - in16  0.00741 0.00532 10   1.393  0.7946
##  in08 - in20  0.01075 0.00501 10   2.147  0.3958
##  in08 - in24  0.01825 0.00498 10   3.664  0.0470
##  in12 - in16  0.00444 0.00199 10   2.228  0.3593
##  in12 - in20  0.00778 0.00306 10   2.543  0.2394
##  in12 - in24  0.01528 0.00415 10   3.681  0.0458
##  in16 - in20  0.00334 0.00325 10   1.030  0.9351
##  in16 - in24  0.01084 0.00323 10   3.359  0.0742
##  in20 - in24  0.00750 0.00383 10   1.957  0.4906
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_AnkleK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.102101      1 0.023907     10 42.7073 6.596e-05 ***
## Sex           0.005122      1 0.023907     10  2.1425    0.1740    
## Condition     0.019973      6 0.018603     60 10.7369 4.441e-08 ***
## Sex:Condition 0.001541      6 0.018603     60  0.8284    0.5526    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00025218 3.7018e-06
## Sex:Condition     0.00025218 3.7018e-06
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.36753    0.00041 ***
## Sex:Condition 0.36753    0.46030    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.4758933 8.354565e-05
## Sex:Condition 0.4758933 4.841648e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean      SE df lower.CL upper.CL
##  CMJ       0.0529 0.01190 10  0.02647   0.0793
##  in04      0.0598 0.00872 10  0.04038   0.0792
##  in08      0.0401 0.00571 10  0.02742   0.0528
##  in12      0.0299 0.00731 10  0.01361   0.0462
##  in16      0.0248 0.00501 10  0.01365   0.0360
##  in20      0.0208 0.00487 10  0.00995   0.0317
##  in24      0.0157 0.00170 10  0.01191   0.0195
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate      SE df t.ratio p.value
##  CMJ - in04  -0.00692 0.01220 10  -0.567  0.9965
##  CMJ - in08   0.01275 0.01120 10   1.139  0.9014
##  CMJ - in12   0.02298 0.00729 10   3.151  0.1010
##  CMJ - in16   0.02806 0.00795 10   3.531  0.0574
##  CMJ - in20   0.03207 0.00856 10   3.747  0.0415
##  CMJ - in24   0.03718 0.01140 10   3.267  0.0851
##  in04 - in08  0.01966 0.00594 10   3.313  0.0795
##  in04 - in12  0.02989 0.00845 10   3.537  0.0569
##  in04 - in16  0.03498 0.00779 10   4.488  0.0139
##  in04 - in20  0.03899 0.00843 10   4.625  0.0114
##  in04 - in24  0.04410 0.00792 10   5.567  0.0031
##  in08 - in12  0.01023 0.00530 10   1.930  0.5048
##  in08 - in16  0.01531 0.00474 10   3.233  0.0895
##  in08 - in20  0.01933 0.00452 10   4.275  0.0190
##  in08 - in24  0.02443 0.00511 10   4.782  0.0091
##  in12 - in16  0.00509 0.00274 10   1.858  0.5435
##  in12 - in20  0.00910 0.00265 10   3.429  0.0669
##  in12 - in24  0.01421 0.00638 10   2.225  0.3605
##  in16 - in20  0.00401 0.00159 10   2.519  0.2473
##  in16 - in24  0.00912 0.00426 10   2.140  0.3993
##  in20 - in24  0.00511 0.00418 10   1.221  0.8711
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_AnkleK 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df  Error SS den Df F value    Pr(>F)    
## (Intercept)   0.089637      1 0.0199061     10 45.0296 5.296e-05 ***
## Sex           0.006431      1 0.0199061     10  3.2306   0.10249    
## Condition     0.011716      6 0.0094537     60 12.3936 5.017e-09 ***
## Sex:Condition 0.002163      6 0.0094537     60  2.2880   0.04696 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic   p-value
## Condition           0.002678 0.0013986
## Sex:Condition       0.002678 0.0013986
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.43964  5.249e-05 ***
## Sex:Condition 0.43964     0.1083    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.6116028 2.986124e-06
## Sex:Condition 0.6116028 8.330728e-02
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean      SE df lower.CL upper.CL
##  CMJ       0.0494 0.00901 10   0.0293   0.0695
##  in04      0.0501 0.00739 10   0.0336   0.0666
##  in08      0.0338 0.00457 10   0.0236   0.0440
##  in12      0.0298 0.00571 10   0.0171   0.0425
##  in16      0.0234 0.00419 10   0.0141   0.0328
##  in20      0.0248 0.00532 10   0.0129   0.0366
##  in24      0.0173 0.00309 10   0.0104   0.0242
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast     estimate      SE df t.ratio p.value
##  CMJ - in04  -0.000678 0.00760 10  -0.089  1.0000
##  CMJ - in08   0.015598 0.00736 10   2.120  0.4087
##  CMJ - in12   0.019607 0.00589 10   3.330  0.0774
##  CMJ - in16   0.025964 0.00666 10   3.901  0.0330
##  CMJ - in20   0.024621 0.00624 10   3.948  0.0308
##  CMJ - in24   0.032104 0.00786 10   4.086  0.0251
##  in04 - in08  0.016276 0.00406 10   4.010  0.0281
##  in04 - in12  0.020285 0.00549 10   3.695  0.0450
##  in04 - in16  0.026642 0.00498 10   5.352  0.0041
##  in04 - in20  0.025299 0.00688 10   3.675  0.0463
##  in04 - in24  0.032782 0.00584 10   5.616  0.0029
##  in08 - in12  0.004009 0.00370 10   1.084  0.9194
##  in08 - in16  0.010366 0.00227 10   4.560  0.0125
##  in08 - in20  0.009023 0.00431 10   2.091  0.4225
##  in08 - in24  0.016506 0.00374 10   4.419  0.0154
##  in12 - in16  0.006357 0.00240 10   2.653  0.2062
##  in12 - in20  0.005014 0.00209 10   2.399  0.2895
##  in12 - in24  0.012497 0.00367 10   3.410  0.0688
##  in16 - in20 -0.001343 0.00315 10  -0.426  0.9993
##  in16 - in24  0.006140 0.00249 10   2.466  0.2653
##  in20 - in24  0.007483 0.00401 10   1.866  0.5392
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: vGRF_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)   607.35      1  19.3371     10 314.0844 6.974e-09 ***
## Sex             5.74      1  19.3371     10   2.9686    0.1156    
## Condition       7.76      6   6.5964     60  11.7593 1.136e-08 ***
## Sex:Condition   0.87      6   6.5964     60   1.3156    0.2642    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic   p-value
## Condition          0.0047832 0.0050962
## Sex:Condition      0.0047832 0.0050962
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.45882  5.608e-05 ***
## Sex:Condition 0.45882     0.2889    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.6504179 2.694120e-06
## Sex:Condition 0.6504179 2.814529e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean     SE df lower.CL upper.CL
##  CMJ         1.97 0.0639 10     1.82     2.11
##  in04        2.94 0.2130 10     2.46     3.41
##  in08        2.78 0.1770 10     2.38     3.17
##  in12        2.84 0.2300 10     2.33     3.35
##  in16        2.78 0.1830 10     2.37     3.18
##  in20        2.84 0.1900 10     2.42     3.26
##  in24        2.68 0.1130 10     2.43     2.94
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast     estimate     SE df t.ratio p.value
##  CMJ - in04  -0.971663 0.1910 10  -5.100  0.0058
##  CMJ - in08  -0.813084 0.1580 10  -5.145  0.0055
##  CMJ - in12  -0.874487 0.2010 10  -4.344  0.0171
##  CMJ - in16  -0.809852 0.1540 10  -5.248  0.0047
##  CMJ - in20  -0.875343 0.1670 10  -5.247  0.0047
##  CMJ - in24  -0.717365 0.0927 10  -7.735  0.0002
##  in04 - in08  0.158579 0.1050 10   1.505  0.7371
##  in04 - in12  0.097176 0.1750 10   0.556  0.9969
##  in04 - in16  0.161811 0.1290 10   1.257  0.8564
##  in04 - in20  0.096320 0.1450 10   0.663  0.9921
##  in04 - in24  0.254299 0.1570 10   1.624  0.6726
##  in08 - in12 -0.061403 0.1330 10  -0.463  0.9989
##  in08 - in16  0.003232 0.1070 10   0.030  1.0000
##  in08 - in20 -0.062259 0.1110 10  -0.559  0.9968
##  in08 - in24  0.095720 0.1280 10   0.745  0.9856
##  in12 - in16  0.064636 0.0715 10   0.904  0.9636
##  in12 - in20 -0.000856 0.0757 10  -0.011  1.0000
##  in12 - in24  0.157123 0.1580 10   0.997  0.9436
##  in16 - in20 -0.065492 0.0497 10  -1.318  0.8297
##  in16 - in24  0.092487 0.1040 10   0.892  0.9658
##  in20 - in24  0.157979 0.1100 10   1.436  0.7728
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: vCOM_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df   F value    Pr(>F)    
## (Intercept)   86.037      1 0.166488     10 5167.7252 6.618e-15 ***
## Sex            0.128      1 0.166488     10    7.6788   0.01975 *  
## Condition      0.158      6 0.019694     60   80.2710 < 2.2e-16 ***
## Sex:Condition  0.003      6 0.019694     60    1.4406   0.21437    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00013473 6.6973e-07
## Sex:Condition     0.00013473 6.6973e-07
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.37402  2.684e-11 ***
## Sex:Condition 0.37402     0.2584    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.4874861 4.026291e-14
## Sex:Condition 0.4874861 2.514145e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean     SE df lower.CL upper.CL
##  CMJ        0.931 0.0111 10    0.907    0.956
##  in04       0.976 0.0150 10    0.943    1.009
##  in08       1.002 0.0153 10    0.968    1.036
##  in12       1.018 0.0147 10    0.986    1.051
##  in16       1.038 0.0159 10    1.003    1.074
##  in20       1.051 0.0147 10    1.018    1.083
##  in24       1.067 0.0169 10    1.030    1.105
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate      SE df t.ratio p.value
##  CMJ - in04   -0.0445 0.01160 10  -3.852  0.0355
##  CMJ - in08   -0.0709 0.01120 10  -6.342  0.0011
##  CMJ - in12   -0.0869 0.01000 10  -8.663  0.0001
##  CMJ - in16   -0.1069 0.01070 10  -9.953  <.0001
##  CMJ - in20   -0.1193 0.00848 10 -14.057  <.0001
##  CMJ - in24   -0.1359 0.01150 10 -11.820  <.0001
##  in04 - in08  -0.0264 0.00350 10  -7.529  0.0003
##  in04 - in12  -0.0424 0.00542 10  -7.813  0.0002
##  in04 - in16  -0.0623 0.00737 10  -8.454  0.0001
##  in04 - in20  -0.0747 0.00794 10  -9.412  <.0001
##  in04 - in24  -0.0914 0.00956 10  -9.553  <.0001
##  in08 - in12  -0.0160 0.00418 10  -3.831  0.0367
##  in08 - in16  -0.0360 0.00506 10  -7.112  0.0004
##  in08 - in20  -0.0484 0.00546 10  -8.861  0.0001
##  in08 - in24  -0.0650 0.00668 10  -9.737  <.0001
##  in12 - in16  -0.0200 0.00356 10  -5.599  0.0029
##  in12 - in20  -0.0323 0.00437 10  -7.408  0.0003
##  in12 - in24  -0.0490 0.00603 10  -8.120  0.0001
##  in16 - in20  -0.0124 0.00318 10  -3.897  0.0332
##  in16 - in24  -0.0290 0.00311 10  -9.336  <.0001
##  in20 - in24  -0.0167 0.00376 10  -4.434  0.0150
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## Significant main effect of Sex (no significant interaction): running post-hoc for Sex
## 
## --- Estimated marginal means (Sex) ---
##  Sex emmean     SE df lower.CL upper.CL
##  F    0.973 0.0199 10    0.929     1.02
##  M    1.051 0.0199 10    1.007     1.10
## 
## Results are averaged over the levels of: Condition 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Sex) ---
##  contrast estimate     SE df t.ratio p.value
##  F - M      -0.078 0.0282 10  -2.771  0.0198
## 
## Results are averaged over the levels of: Condition 
## 
## ==============================
## Variable: vCOM_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df   F value    Pr(>F)    
## (Intercept)   45.880      1  0.35204     10 1303.2408 6.321e-12 ***
## Sex            0.116      1  0.35204     10    3.3081 0.0989655 .  
## Condition      0.028      6  0.06149     60    4.5844 0.0006831 ***
## Sex:Condition  0.031      6  0.06149     60    4.9800 0.0003385 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.026708 0.13049
## Sex:Condition       0.026708 0.13049
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])   
## Condition     0.54875   0.007171 **
## Sex:Condition 0.54875   0.004759 **
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.8502295 0.0014766708
## Sex:Condition 0.8502295 0.0008059135
## 
## Significant interaction: running post-hoc for Sex x Condition
## 
## --- Estimated marginal means (interaction) ---
##  Condition Sex emmean     SE df lower.CL upper.CL
##  CMJ       F    0.708 0.0288 10    0.644    0.772
##  in04      F    0.713 0.0330 10    0.640    0.787
##  in08      F    0.705 0.0305 10    0.637    0.773
##  in12      F    0.703 0.0342 10    0.626    0.779
##  in16      F    0.693 0.0343 10    0.617    0.770
##  in20      F    0.701 0.0314 10    0.631    0.771
##  in24      F    0.689 0.0266 10    0.630    0.749
##  CMJ       M    0.690 0.0288 10    0.626    0.754
##  in04      M    0.811 0.0330 10    0.738    0.885
##  in08      M    0.798 0.0305 10    0.730    0.866
##  in12      M    0.780 0.0342 10    0.704    0.856
##  in16      M    0.788 0.0343 10    0.712    0.865
##  in20      M    0.788 0.0314 10    0.718    0.858
##  in24      M    0.779 0.0266 10    0.719    0.838
## 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (interaction) ---
##  contrast         estimate      SE df t.ratio p.value
##  CMJ F - in04 F  -0.005220 0.02240 10  -0.233  1.0000
##  CMJ F - in08 F   0.002966 0.02390 10   0.124  1.0000
##  CMJ F - in12 F   0.005362 0.02540 10   0.211  1.0000
##  CMJ F - in16 F   0.014771 0.02480 10   0.597  1.0000
##  CMJ F - in20 F   0.007006 0.02140 10   0.328  1.0000
##  CMJ F - in24 F   0.018542 0.01500 10   1.239  0.9834
##  CMJ F - CMJ M    0.017874 0.04080 10   0.438  1.0000
##  CMJ F - in04 M  -0.103011 0.04380 10  -2.351  0.5575
##  CMJ F - in08 M  -0.090037 0.04200 10  -2.145  0.6671
##  CMJ F - in12 M  -0.072218 0.04470 10  -1.615  0.9064
##  CMJ F - in16 M  -0.080094 0.04480 10  -1.788  0.8418
##  CMJ F - in20 M  -0.079801 0.04260 10  -1.871  0.8049
##  CMJ F - in24 M  -0.070575 0.03920 10  -1.798  0.8373
##  in04 F - in08 F  0.008187 0.01910 10   0.429  1.0000
##  in04 F - in12 F  0.010582 0.01770 10   0.597  1.0000
##  in04 F - in16 F  0.019991 0.01990 10   1.005  0.9970
##  in04 F - in20 F  0.012226 0.01860 10   0.657  1.0000
##  in04 F - in24 F  0.023763 0.02240 10   1.059  0.9953
##  in04 F - CMJ M   0.023095 0.04380 10   0.527  1.0000
##  in04 F - in04 M -0.097790 0.04660 10  -2.096  0.6926
##  in04 F - in08 M -0.084817 0.04490 10  -1.888  0.7972
##  in04 F - in12 M -0.066998 0.04750 10  -1.410  0.9588
##  in04 F - in16 M -0.074874 0.04760 10  -1.574  0.9191
##  in04 F - in20 M -0.074580 0.04560 10  -1.637  0.8991
##  in04 F - in24 M -0.065355 0.04240 10  -1.542  0.9282
##  in08 F - in12 F  0.002396 0.01850 10   0.129  1.0000
##  in08 F - in16 F  0.011804 0.01350 10   0.876  0.9992
##  in08 F - in20 F  0.004040 0.00984 10   0.411  1.0000
##  in08 F - in24 F  0.015576 0.01910 10   0.816  0.9996
##  in08 F - CMJ M   0.014908 0.04200 10   0.355  1.0000
##  in08 F - in04 M -0.105977 0.04490 10  -2.358  0.5538
##  in08 F - in08 M -0.093004 0.04320 10  -2.155  0.6616
##  in08 F - in12 M -0.075185 0.04580 10  -1.641  0.8979
##  in08 F - in16 M -0.083060 0.04590 10  -1.809  0.8325
##  in08 F - in20 M -0.082767 0.04380 10  -1.889  0.7964
##  in08 F - in24 M -0.073541 0.04050 10  -1.816  0.8297
##  in12 F - in16 F  0.009409 0.01260 10   0.747  0.9998
##  in12 F - in20 F  0.001644 0.01340 10   0.122  1.0000
##  in12 F - in24 F  0.013180 0.01760 10   0.748  0.9998
##  in12 F - CMJ M   0.012512 0.04470 10   0.280  1.0000
##  in12 F - in04 M -0.108373 0.04750 10  -2.281  0.5945
##  in12 F - in08 M -0.095399 0.04580 10  -2.082  0.7003
##  in12 F - in12 M -0.077580 0.04830 10  -1.605  0.9096
##  in12 F - in16 M -0.085456 0.04840 10  -1.765  0.8513
##  in12 F - in20 M -0.085163 0.04640 10  -1.834  0.8218
##  in12 F - in24 M -0.075937 0.04330 10  -1.752  0.8564
##  in16 F - in20 F -0.007765 0.01180 10  -0.657  1.0000
##  in16 F - in24 F  0.003772 0.01470 10   0.256  1.0000
##  in16 F - CMJ M   0.003104 0.04480 10   0.069  1.0000
##  in16 F - in04 M -0.117781 0.04760 10  -2.475  0.4940
##  in16 F - in08 M -0.104808 0.04590 10  -2.283  0.5936
##  in16 F - in12 M -0.086989 0.04840 10  -1.796  0.8381
##  in16 F - in16 M -0.094864 0.04850 10  -1.956  0.7644
##  in16 F - in20 M -0.094571 0.04650 10  -2.033  0.7256
##  in16 F - in24 M -0.085346 0.04340 10  -1.966  0.7596
##  in20 F - in24 F  0.011536 0.01570 10   0.735  0.9999
##  in20 F - CMJ M   0.010868 0.04260 10   0.255  1.0000
##  in20 F - in04 M -0.110017 0.04560 10  -2.415  0.5247
##  in20 F - in08 M -0.097043 0.04380 10  -2.215  0.6296
##  in20 F - in12 M -0.079224 0.04640 10  -1.706  0.8745
##  in20 F - in16 M -0.087100 0.04650 10  -1.872  0.8043
##  in20 F - in20 M -0.086807 0.04440 10  -1.953  0.7658
##  in20 F - in24 M -0.077581 0.04120 10  -1.883  0.7992
##  in24 F - CMJ M  -0.000668 0.03920 10  -0.017  1.0000
##  in24 F - in04 M -0.121553 0.04240 10  -2.867  0.3196
##  in24 F - in08 M -0.108580 0.04050 10  -2.681  0.3966
##  in24 F - in12 M -0.090761 0.04330 10  -2.094  0.6937
##  in24 F - in16 M -0.098636 0.04340 10  -2.272  0.5996
##  in24 F - in20 M -0.098343 0.04120 10  -2.387  0.5388
##  in24 F - in24 M -0.089117 0.03770 10  -2.367  0.5496
##  CMJ M - in04 M  -0.120885 0.02240 10  -5.405  0.0106
##  CMJ M - in08 M  -0.107912 0.02390 10  -4.517  0.0352
##  CMJ M - in12 M  -0.090093 0.02540 10  -3.540  0.1347
##  CMJ M - in16 M  -0.097968 0.02480 10  -3.958  0.0761
##  CMJ M - in20 M  -0.097675 0.02140 10  -4.569  0.0328
##  CMJ M - in24 M  -0.088449 0.01500 10  -5.912  0.0055
##  in04 M - in08 M  0.012973 0.01910 10   0.680  0.9999
##  in04 M - in12 M  0.030792 0.01770 10   1.738  0.8619
##  in04 M - in16 M  0.022917 0.01990 10   1.153  0.9906
##  in04 M - in20 M  0.023210 0.01860 10   1.248  0.9826
##  in04 M - in24 M  0.032436 0.02240 10   1.446  0.9516
##  in08 M - in12 M  0.017819 0.01850 10   0.962  0.9980
##  in08 M - in16 M  0.009944 0.01350 10   0.738  0.9999
##  in08 M - in20 M  0.010237 0.00984 10   1.041  0.9960
##  in08 M - in24 M  0.019462 0.01910 10   1.020  0.9966
##  in12 M - in16 M -0.007876 0.01260 10  -0.625  1.0000
##  in12 M - in20 M -0.007582 0.01340 10  -0.564  1.0000
##  in12 M - in24 M  0.001643 0.01760 10   0.093  1.0000
##  in16 M - in20 M  0.000293 0.01180 10   0.025  1.0000
##  in16 M - in24 M  0.009519 0.01470 10   0.647  1.0000
##  in20 M - in24 M  0.009226 0.01570 10   0.588  1.0000
## 
## P value adjustment: tukey method for comparing a family of 14 estimates 
## 
## ==============================
## Variable: R_Hip_pos_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)    75788      1   1735.0     10 436.8127 1.395e-09 ***
## Sex              904      1   1735.0     10   5.2093    0.0456 *  
## Condition       1218      6   1601.2     60   7.6060 4.299e-06 ***
## Sex:Condition     85      6   1601.2     60   0.5309    0.7826    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00025687 3.8899e-06
## Sex:Condition     0.00025687 3.8899e-06
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])   
## Condition     0.26618   0.007041 **
## Sex:Condition 0.26618   0.558807   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps  Pr(>F[HF])
## Condition     0.3087783 0.004510686
## Sex:Condition 0.3087783 0.583380096
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         32.0 3.12 10     25.1     39.0
##  in04        35.2 2.01 10     30.7     39.7
##  in08        34.8 1.72 10     30.9     38.6
##  in12        29.5 2.18 10     24.7     34.4
##  in16        27.5 1.62 10     23.9     31.1
##  in20        26.8 1.27 10     24.0     29.6
##  in24        24.4 1.44 10     21.2     27.6
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    -3.183 3.660 10  -0.869  0.9696
##  CMJ - in08    -2.741 3.670 10  -0.746  0.9855
##  CMJ - in12     2.514 3.500 10   0.718  0.9881
##  CMJ - in16     4.510 3.550 10   1.272  0.8500
##  CMJ - in20     5.233 3.220 10   1.626  0.6714
##  CMJ - in24     7.579 3.630 10   2.089  0.4234
##  in04 - in08    0.442 1.330 10   0.332  0.9998
##  in04 - in12    5.697 1.060 10   5.379  0.0040
##  in04 - in16    7.693 1.390 10   5.547  0.0031
##  in04 - in20    8.416 1.020 10   8.289  0.0001
##  in04 - in24   10.763 1.250 10   8.601  0.0001
##  in08 - in12    5.255 1.320 10   3.983  0.0292
##  in08 - in16    7.251 1.010 10   7.163  0.0004
##  in08 - in20    7.974 1.150 10   6.917  0.0006
##  in08 - in24   10.321 1.220 10   8.470  0.0001
##  in12 - in16    1.996 0.925 10   2.158  0.3909
##  in12 - in20    2.719 1.100 10   2.480  0.2606
##  in12 - in24    5.065 1.140 10   4.436  0.0150
##  in16 - in20    0.724 0.825 10   0.877  0.9684
##  in16 - in24    3.070 0.641 10   4.786  0.0090
##  in20 - in24    2.346 0.850 10   2.761  0.1772
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## Significant main effect of Sex (no significant interaction): running post-hoc for Sex
## 
## --- Estimated marginal means (Sex) ---
##  Sex emmean   SE df lower.CL upper.CL
##  F     33.3 2.03 10     28.8     37.8
##  M     26.8 2.03 10     22.2     31.3
## 
## Results are averaged over the levels of: Condition 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Sex) ---
##  contrast estimate   SE df t.ratio p.value
##  F - M        6.56 2.87 10   2.282  0.0456
## 
## Results are averaged over the levels of: Condition 
## 
## ==============================
## Variable: R_Hip_pos_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)   12451.8      1  1045.90     10 119.0534 7.108e-07 ***
## Sex             166.4      1  1045.90     10   1.5912    0.2358    
## Condition        96.5      6   155.23     60   6.2154 4.071e-05 ***
## Sex:Condition    17.1      6   155.23     60   1.1006    0.3727    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.068161 0.44497
## Sex:Condition       0.068161 0.44497
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])   
## Condition     0.56087   0.001268 **
## Sex:Condition 0.56087   0.366666   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.8796497 0.0001035307
## Sex:Condition 0.8796497 0.3722647541
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         14.5 1.12 10    11.98     17.0
##  in04        10.9 1.28 10     7.99     13.7
##  in08        11.6 1.34 10     8.66     14.6
##  in12        11.6 1.15 10     9.05     14.2
##  in16        12.0 1.02 10     9.71     14.2
##  in20        12.0 1.31 10     9.04     14.9
##  in24        12.7 1.11 10    10.23     15.2
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    3.6282 0.836 10   4.341  0.0172
##  CMJ - in08    2.8354 0.933 10   3.037  0.1192
##  CMJ - in12    2.8778 0.905 10   3.179  0.0969
##  CMJ - in16    2.5060 0.719 10   3.487  0.0613
##  CMJ - in20    2.5205 0.944 10   2.669  0.2015
##  CMJ - in24    1.7758 0.843 10   2.107  0.4147
##  in04 - in08  -0.7929 0.579 10  -1.369  0.8060
##  in04 - in12  -0.7505 0.445 10  -1.685  0.6387
##  in04 - in16  -1.1222 0.557 10  -2.015  0.4603
##  in04 - in20  -1.1078 0.619 10  -1.790  0.5808
##  in04 - in24  -1.8524 0.523 10  -3.542  0.0564
##  in08 - in12   0.0424 0.470 10   0.090  1.0000
##  in08 - in16  -0.3293 0.600 10  -0.549  0.9971
##  in08 - in20  -0.3149 0.754 10  -0.418  0.9994
##  in08 - in24  -1.0595 0.754 10  -1.405  0.7884
##  in12 - in16  -0.3718 0.390 10  -0.952  0.9539
##  in12 - in20  -0.3573 0.512 10  -0.698  0.9897
##  in12 - in24  -1.1019 0.516 10  -2.136  0.4014
##  in16 - in20   0.0145 0.435 10   0.033  1.0000
##  in16 - in24  -0.7302 0.473 10  -1.543  0.7170
##  in20 - in24  -0.7446 0.485 10  -1.537  0.7203
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Hip_moment_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   14.7594      1   2.5612     10 57.6271 1.858e-05 ***
## Sex            0.0394      1   2.5612     10  0.1537 0.7032768    
## Condition      1.3008      6   2.7867     60  4.6677 0.0005886 ***
## Sex:Condition  0.1772      6   2.7867     60  0.6358 0.7010470    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition           0.015955 0.055256
## Sex:Condition       0.015955 0.055256
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])  
## Condition     0.40717    0.01435 *
## Sex:Condition 0.40717    0.56826  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps  Pr(>F[HF])
## Condition     0.5485732 0.006578858
## Sex:Condition 0.5485732 0.611272296
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean     SE df lower.CL upper.CL
##  CMJ       -0.141 0.0500 10   -0.253  -0.0298
##  in04      -0.425 0.1040 10   -0.657  -0.1940
##  in08      -0.373 0.0831 10   -0.559  -0.1880
##  in12      -0.460 0.0615 10   -0.597  -0.3233
##  in16      -0.486 0.0858 10   -0.677  -0.2946
##  in20      -0.545 0.0945 10   -0.755  -0.3341
##  in24      -0.504 0.0655 10   -0.649  -0.3576
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate     SE df t.ratio p.value
##  CMJ - in04    0.2843 0.1230 10   2.315  0.3225
##  CMJ - in08    0.2320 0.1060 10   2.187  0.3775
##  CMJ - in12    0.3191 0.0675 10   4.725  0.0099
##  CMJ - in16    0.3445 0.0854 10   4.033  0.0271
##  CMJ - in20    0.4035 0.1020 10   3.959  0.0303
##  CMJ - in24    0.3623 0.0818 10   4.428  0.0152
##  in04 - in08  -0.0522 0.0574 10  -0.910  0.9626
##  in04 - in12   0.0348 0.0843 10   0.413  0.9994
##  in04 - in16   0.0602 0.0960 10   0.628  0.9940
##  in04 - in20   0.1192 0.1360 10   0.876  0.9686
##  in04 - in24   0.0780 0.0889 10   0.878  0.9682
##  in08 - in12   0.0870 0.0763 10   1.141  0.9009
##  in08 - in16   0.1125 0.0963 10   1.168  0.8912
##  in08 - in20   0.1714 0.1340 10   1.282  0.8457
##  in08 - in24   0.1302 0.0818 10   1.592  0.6904
##  in12 - in16   0.0254 0.0470 10   0.541  0.9973
##  in12 - in20   0.0844 0.0810 10   1.042  0.9316
##  in12 - in24   0.0432 0.0474 10   0.911  0.9622
##  in16 - in20   0.0590 0.0653 10   0.904  0.9636
##  in16 - in24   0.0178 0.0461 10   0.386  0.9996
##  in20 - in24  -0.0412 0.0645 10  -0.639  0.9935
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Hip_moment_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value   Pr(>F)    
## (Intercept)   17.1070      1   6.9234     10 24.7089 0.000561 ***
## Sex            0.1496      1   6.9234     10  0.2161 0.651956    
## Condition      0.2811      6   1.1114     60  2.5294 0.030004 *  
## Sex:Condition  0.0642      6   1.1114     60  0.5776 0.746676    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition          0.0095073 0.021001
## Sex:Condition      0.0095073 0.021001
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])  
## Condition     0.59036    0.06399 .
## Sex:Condition 0.59036    0.66089  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps Pr(>F[HF])
## Condition     0.9539754 0.03261272
## Sex:Condition 0.9539754 0.73897323
## 
## ==============================
## Variable: L_Hip_pos_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)    74888      1   2296.5     10 326.0949 5.811e-09 ***
## Sex             1085      1   2296.5     10   4.7265 0.0547936 .  
## Condition        754      6   1486.9     60   5.0731 0.0002875 ***
## Sex:Condition     43      6   1486.9     60   0.2913 0.9388270    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00016066 1.0874e-06
## Sex:Condition     0.00016066 1.0874e-06
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])  
## Condition     0.28908    0.02187 *
## Sex:Condition 0.28908    0.72031  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps Pr(>F[HF])
## Condition     0.3443821 0.01540558
## Sex:Condition 0.3443821 0.75721781
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         32.3 3.03 10     25.6     39.1
##  in04        34.1 2.08 10     29.4     38.7
##  in08        32.2 2.07 10     27.6     36.8
##  in12        30.1 2.42 10     24.8     35.5
##  in16        28.2 1.84 10     24.1     32.3
##  in20        27.1 1.56 10     23.6     30.5
##  in24        25.1 1.45 10     21.8     28.3
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    -1.753 3.450 10  -0.508  0.9981
##  CMJ - in08     0.149 3.410 10   0.044  1.0000
##  CMJ - in12     2.173 3.310 10   0.657  0.9924
##  CMJ - in16     4.142 3.360 10   1.234  0.8660
##  CMJ - in20     5.238 3.070 10   1.706  0.6273
##  CMJ - in24     7.266 3.450 10   2.106  0.4154
##  in04 - in08    1.902 1.040 10   1.820  0.5642
##  in04 - in12    3.926 0.908 10   4.322  0.0177
##  in04 - in16    5.894 1.150 10   5.147  0.0054
##  in04 - in20    6.990 0.808 10   8.652  0.0001
##  in04 - in24    9.019 1.550 10   5.814  0.0022
##  in08 - in12    2.024 1.130 10   1.792  0.5796
##  in08 - in16    3.993 0.798 10   5.006  0.0066
##  in08 - in20    5.089 0.828 10   6.149  0.0014
##  in08 - in24    7.117 1.690 10   4.211  0.0209
##  in12 - in16    1.968 1.020 10   1.933  0.5033
##  in12 - in20    3.064 1.040 10   2.959  0.1336
##  in12 - in24    5.093 1.680 10   3.036  0.1194
##  in16 - in20    1.096 0.689 10   1.590  0.6914
##  in16 - in24    3.124 1.060 10   2.945  0.1363
##  in20 - in24    2.028 1.180 10   1.723  0.6178
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Hip_pos_low 
## ==============================
## Warning in summary.Anova.mlm(object$Anova, multivariate = FALSE): HF eps > 1
## treated as 1
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   13378.4      1   1431.6     10 93.4522 2.166e-06 ***
## Sex             267.9      1   1431.6     10  1.8712  0.201286    
## Condition        72.2      6    175.4     60  4.1140  0.001596 ** 
## Sex:Condition    26.8      6    175.4     60  1.5254  0.185401    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition             0.0578 0.37191
## Sex:Condition         0.0578 0.37191
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])   
## Condition     0.63476   0.008008 **
## Sex:Condition 0.63476   0.216054   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                 HF eps  Pr(>F[HF])
## Condition     1.073903 0.001595591
## Sex:Condition 1.073903 0.185401341
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         14.5 1.38 10    11.37     17.5
##  in04        11.3 1.51 10     7.96     14.7
##  in08        12.1 1.57 10     8.57     15.5
##  in12        12.2 1.15 10     9.60     14.7
##  in16        12.5 1.34 10     9.56     15.5
##  in20        12.5 1.44 10     9.31     15.7
##  in24        13.3 1.25 10    10.50     16.1
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    3.1155 0.885 10   3.521  0.0582
##  CMJ - in08    2.3955 0.914 10   2.620  0.2155
##  CMJ - in12    2.2948 0.920 10   2.494  0.2558
##  CMJ - in16    1.9112 0.855 10   2.236  0.3560
##  CMJ - in20    1.9417 0.846 10   2.295  0.3306
##  CMJ - in24    1.1540 0.878 10   1.314  0.8317
##  in04 - in08  -0.7200 0.723 10  -0.996  0.9438
##  in04 - in12  -0.8207 0.649 10  -1.264  0.8534
##  in04 - in16  -1.2042 0.595 10  -2.025  0.4554
##  in04 - in20  -1.1738 0.524 10  -2.241  0.3535
##  in04 - in24  -1.9615 0.608 10  -3.226  0.0904
##  in08 - in12  -0.1007 0.628 10  -0.160  1.0000
##  in08 - in16  -0.4842 0.627 10  -0.772  0.9829
##  in08 - in20  -0.4538 0.758 10  -0.599  0.9954
##  in08 - in24  -1.2415 0.870 10  -1.427  0.7776
##  in12 - in16  -0.3835 0.367 10  -1.045  0.9309
##  in12 - in20  -0.3531 0.542 10  -0.651  0.9928
##  in12 - in24  -1.1408 0.612 10  -1.864  0.5402
##  in16 - in20   0.0304 0.296 10   0.103  1.0000
##  in16 - in24  -0.7573 0.573 10  -1.322  0.8278
##  in20 - in24  -0.7877 0.517 10  -1.525  0.7267
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Hip_moment_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   8.3107      1   3.2424     10 25.6314   0.00049 ***
## Sex           0.5267      1   3.2424     10  1.6243   0.23131    
## Condition     1.5012      6   2.0575     60  7.2961 7.008e-06 ***
## Sex:Condition 0.2334      6   2.0575     60  1.1344   0.35366    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.037636 0.21616
## Sex:Condition       0.037636 0.21616
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.53851  0.0005627 ***
## Sex:Condition 0.53851  0.3520978    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.8258673 3.618415e-05
## Sex:Condition 0.8258673 3.546360e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean     SE df lower.CL  upper.CL
##  CMJ       -0.146 0.0418 10   -0.240 -0.053238
##  in04      -0.147 0.1010 10   -0.373  0.079017
##  in08      -0.210 0.0943 10   -0.420 -0.000211
##  in12      -0.355 0.0795 10   -0.532 -0.177627
##  in16      -0.412 0.0808 10   -0.592 -0.232154
##  in20      -0.441 0.0667 10   -0.590 -0.292884
##  in24      -0.490 0.0771 10   -0.661 -0.317905
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate     SE df t.ratio p.value
##  CMJ - in04   0.00052 0.1060 10   0.005  1.0000
##  CMJ - in08   0.06389 0.1040 10   0.615  0.9947
##  CMJ - in12   0.20836 0.0864 10   2.410  0.2855
##  CMJ - in16   0.26572 0.0930 10   2.857  0.1547
##  CMJ - in20   0.29502 0.0743 10   3.969  0.0298
##  CMJ - in24   0.34314 0.0871 10   3.938  0.0312
##  in04 - in08  0.06337 0.0614 10   1.032  0.9345
##  in04 - in12  0.20784 0.0433 10   4.798  0.0089
##  in04 - in16  0.26520 0.0673 10   3.942  0.0311
##  in04 - in20  0.29450 0.0838 10   3.515  0.0588
##  in04 - in24  0.34262 0.0942 10   3.637  0.0490
##  in08 - in12  0.14447 0.0474 10   3.045  0.1179
##  in08 - in16  0.20183 0.0500 10   4.040  0.0268
##  in08 - in20  0.23113 0.0711 10   3.252  0.0869
##  in08 - in24  0.27925 0.0831 10   3.362  0.0739
##  in12 - in16  0.05736 0.0618 10   0.928  0.9589
##  in12 - in20  0.08666 0.0629 10   1.377  0.8021
##  in12 - in24  0.13478 0.0871 10   1.548  0.7144
##  in16 - in20  0.02930 0.0492 10   0.595  0.9955
##  in16 - in24  0.07742 0.0650 10   1.191  0.8828
##  in20 - in24  0.04812 0.0626 10   0.768  0.9833
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Hip_moment_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   18.6370      1   7.9656     10 23.3970 0.0006845 ***
## Sex            0.1622      1   7.9656     10  0.2036 0.6614840    
## Condition      0.1854      6   0.9684     60  1.9145 0.0930643 .  
## Sex:Condition  0.0985      6   0.9684     60  1.0173 0.4228460    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.044445 0.27009
## Sex:Condition       0.044445 0.27009
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##               GG eps Pr(>F[GG])
## Condition     0.5449     0.1423
## Sex:Condition 0.5449     0.4024
## 
##                  HF eps Pr(>F[HF])
## Condition     0.8410197  0.1077119
## Sex:Condition 0.8410197  0.4177981
## 
## ==============================
## Variable: R_Knee_pos_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)    68073      1   5415.8     10 125.6920 5.522e-07 ***
## Sex               99      1   5415.8     10   0.1823    0.6785    
## Condition       4979      6   3493.0     60  14.2542 5.127e-10 ***
## Sex:Condition    333      6   3493.0     60   0.9519    0.4654    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00049338 2.1853e-05
## Sex:Condition     0.00049338 2.1853e-05
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.31343  0.0002081 ***
## Sex:Condition 0.31343  0.3986934    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.3835711 5.423152e-05
## Sex:Condition 0.3835711 4.118865e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         28.8 2.93 10     22.3     35.4
##  in04        41.7 4.85 10     30.9     52.5
##  in08        37.6 4.18 10     28.3     46.9
##  in12        26.4 2.95 10     19.9     33.0
##  in16        23.6 2.72 10     17.6     29.7
##  in20        22.1 1.78 10     18.1     26.1
##  in24        19.1 2.30 10     13.9     24.2
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    -12.87 5.650 10  -2.279  0.3372
##  CMJ - in08     -8.75 4.490 10  -1.950  0.4943
##  CMJ - in12      2.39 3.480 10   0.687  0.9905
##  CMJ - in16      5.20 3.220 10   1.615  0.6780
##  CMJ - in20      6.73 2.570 10   2.625  0.2143
##  CMJ - in24      9.77 3.040 10   3.211  0.0924
##  in04 - in08     4.12 2.070 10   1.986  0.4754
##  in04 - in12    15.26 4.020 10   3.792  0.0388
##  in04 - in16    18.07 4.140 10   4.361  0.0167
##  in04 - in20    19.60 4.220 10   4.640  0.0111
##  in04 - in24    22.64 3.890 10   5.820  0.0022
##  in08 - in12    11.14 2.890 10   3.851  0.0356
##  in08 - in16    13.95 2.820 10   4.947  0.0072
##  in08 - in20    15.49 3.190 10   4.851  0.0082
##  in08 - in24    18.52 2.730 10   6.796  0.0006
##  in12 - in16     2.81 1.120 10   2.520  0.2471
##  in12 - in20     4.35 1.740 10   2.497  0.2547
##  in12 - in24     7.38 1.080 10   6.814  0.0006
##  in16 - in20     1.54 1.310 10   1.170  0.8906
##  in16 - in24     4.57 0.743 10   6.154  0.0014
##  in20 - in24     3.04 1.060 10   2.859  0.1542
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Knee_pos_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)     0.054      1   929.51     10  0.0006    0.9813    
## Sex             5.445      1   929.51     10  0.0586    0.8137    
## Condition     272.679      6   149.10     60 18.2884 6.077e-12 ***
## Sex:Condition  23.625      6   149.10     60  1.5845    0.1674    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.039472 0.23075
## Sex:Condition       0.039472 0.23075
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.54436  2.196e-07 ***
## Sex:Condition 0.54436     0.2092    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.8397437 2.400445e-10
## Sex:Condition 0.8397437 1.810299e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition   emmean    SE df lower.CL upper.CL
##  CMJ        4.30721 1.340 10     1.32    7.299
##  in04       0.00642 1.240 10    -2.76    2.771
##  in08      -0.69690 1.180 10    -3.32    1.927
##  in12      -0.97776 1.200 10    -3.65    1.692
##  in16      -0.70932 1.020 10    -2.99    1.573
##  in20      -0.97639 0.785 10    -2.73    0.773
##  in24      -1.13026 1.080 10    -3.53    1.267
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04   4.30079 0.681 10   6.311  0.0012
##  CMJ - in08   5.00411 0.677 10   7.390  0.0003
##  CMJ - in12   5.28497 0.857 10   6.166  0.0014
##  CMJ - in16   5.01653 0.597 10   8.409  0.0001
##  CMJ - in20   5.28360 0.806 10   6.553  0.0009
##  CMJ - in24   5.43747 0.746 10   7.288  0.0004
##  in04 - in08  0.70332 0.560 10   1.256  0.8567
##  in04 - in12  0.98418 0.605 10   1.626  0.6718
##  in04 - in16  0.71573 0.582 10   1.230  0.8674
##  in04 - in20  0.98281 0.685 10   1.435  0.7736
##  in04 - in24  1.13667 0.638 10   1.780  0.5860
##  in08 - in12  0.28086 0.359 10   0.782  0.9817
##  in08 - in16  0.01241 0.675 10   0.018  1.0000
##  in08 - in20  0.27948 0.579 10   0.483  0.9986
##  in08 - in24  0.43335 0.290 10   1.497  0.7416
##  in12 - in16 -0.26845 0.869 10  -0.309  0.9999
##  in12 - in20 -0.00137 0.729 10  -0.002  1.0000
##  in12 - in24  0.15249 0.470 10   0.324  0.9998
##  in16 - in20  0.26707 0.500 10   0.534  0.9975
##  in16 - in24  0.42094 0.710 10   0.593  0.9956
##  in20 - in24  0.15387 0.562 10   0.274  0.9999
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Knee_moment_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   7.8102      1  0.81947     10 95.3073 1.980e-06 ***
## Sex           0.0069      1  0.81947     10  0.0846    0.7771    
## Condition     2.1073      6  0.70639     60 29.8317 2.798e-16 ***
## Sex:Condition 0.0615      6  0.70639     60  0.8709    0.5217    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition           0.011277 0.029193
## Sex:Condition       0.011277 0.029193
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.50947  2.839e-09 ***
## Sex:Condition 0.50947     0.4686    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.7591425 7.543455e-13
## Sex:Condition 0.7591425 5.000509e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition  emmean     SE df lower.CL upper.CL
##  CMJ        0.0406 0.0413 10  -0.0515   0.1326
##  in04      -0.2292 0.0653 10  -0.3747  -0.0837
##  in08      -0.2833 0.0435 10  -0.3804  -0.1863
##  in12      -0.4097 0.0417 10  -0.5027  -0.3168
##  in16      -0.3926 0.0361 10  -0.4731  -0.3121
##  in20      -0.4356 0.0330 10  -0.5092  -0.3621
##  in24      -0.4245 0.0267 10  -0.4840  -0.3650
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate     SE df t.ratio p.value
##  CMJ - in04    0.2698 0.0667 10   4.046  0.0266
##  CMJ - in08    0.3239 0.0603 10   5.372  0.0040
##  CMJ - in12    0.4503 0.0615 10   7.327  0.0003
##  CMJ - in16    0.4331 0.0551 10   7.863  0.0002
##  CMJ - in20    0.4762 0.0518 10   9.189  <.0001
##  CMJ - in24    0.4651 0.0523 10   8.893  0.0001
##  in04 - in08   0.0541 0.0464 10   1.166  0.8919
##  in04 - in12   0.1805 0.0531 10   3.401  0.0697
##  in04 - in16   0.1633 0.0545 10   2.995  0.1268
##  in04 - in20   0.2064 0.0502 10   4.113  0.0241
##  in04 - in24   0.1953 0.0527 10   3.705  0.0443
##  in08 - in12   0.1264 0.0295 10   4.280  0.0188
##  in08 - in16   0.1092 0.0327 10   3.336  0.0768
##  in08 - in20   0.1523 0.0385 10   3.954  0.0305
##  in08 - in24   0.1412 0.0337 10   4.191  0.0215
##  in12 - in16  -0.0172 0.0224 10  -0.765  0.9836
##  in12 - in20   0.0259 0.0304 10   0.852  0.9723
##  in12 - in24   0.0148 0.0276 10   0.534  0.9975
##  in16 - in20   0.0431 0.0178 10   2.420  0.2819
##  in16 - in24   0.0319 0.0190 10   1.682  0.6407
##  in20 - in24  -0.0111 0.0148 10  -0.752  0.9850
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Knee_moment_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   4.4229      1  0.81408     10 54.3299 2.395e-05 ***
## Sex           0.0701      1  0.81408     10  0.8615    0.3752    
## Condition     0.0818      6  0.30132     60  2.7133    0.0213 *  
## Sex:Condition 0.0145      6  0.30132     60  0.4798    0.8208    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition           0.017143 0.062704
## Sex:Condition       0.017143 0.062704
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])  
## Condition     0.46138    0.06802 .
## Sex:Condition 0.46138    0.68431  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps Pr(>F[HF])
## Condition     0.6557029 0.04434369
## Sex:Condition 0.6557029 0.74742448
## 
## ==============================
## Variable: L_Knee_pos_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)    60853      1   4205.0     10 144.7147 2.854e-07 ***
## Sex               14      1   4205.0     10   0.0332    0.8591    
## Condition       1820      6   2891.5     60   6.2957 3.561e-05 ***
## Sex:Condition    134      6   2891.5     60   0.4639    0.8322    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition         0.00015183 9.31e-07
## Sex:Condition     0.00015183 9.31e-07
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])   
## Condition     0.30899   0.009279 **
## Sex:Condition 0.30899   0.621585   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps  Pr(>F[HF])
## Condition     0.3763202 0.005300275
## Sex:Condition 0.3763202 0.657569938
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         29.7 2.88 10     23.2     36.1
##  in04        35.3 4.16 10     26.1     44.6
##  in08        29.3 3.20 10     22.2     36.4
##  in12        26.9 2.84 10     20.6     33.2
##  in16        24.2 2.54 10     18.5     29.9
##  in20        22.5 1.86 10     18.4     26.7
##  in24        20.5 2.31 10     15.4     25.7
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    -5.686 5.360 10  -1.060  0.9266
##  CMJ - in08     0.382 3.510 10   0.109  1.0000
##  CMJ - in12     2.743 2.890 10   0.951  0.9542
##  CMJ - in16     5.460 2.790 10   1.955  0.4916
##  CMJ - in20     7.128 2.290 10   3.115  0.1064
##  CMJ - in24     9.142 2.760 10   3.312  0.0796
##  in04 - in08    6.067 2.100 10   2.883  0.1491
##  in04 - in12    8.429 3.720 10   2.266  0.3430
##  in04 - in16   11.146 3.710 10   3.002  0.1256
##  in04 - in20   12.813 3.700 10   3.461  0.0637
##  in04 - in24   14.828 4.230 10   3.503  0.0598
##  in08 - in12    2.361 2.210 10   1.068  0.9241
##  in08 - in16    5.078 2.230 10   2.273  0.3400
##  in08 - in20    6.746 2.310 10   2.917  0.1420
##  in08 - in24    8.761 2.830 10   3.096  0.1094
##  in12 - in16    2.717 1.340 10   2.027  0.4543
##  in12 - in20    4.385 1.600 10   2.746  0.1810
##  in12 - in24    6.399 1.880 10   3.411  0.0686
##  in16 - in20    1.668 1.110 10   1.496  0.7422
##  in16 - in24    3.682 0.931 10   3.953  0.0305
##  in20 - in24    2.015 1.310 10   1.543  0.7172
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Knee_pos_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)    52.720      1  1236.46     10  0.4264    0.5285    
## Sex            10.753      1  1236.46     10  0.0870    0.7741    
## Condition     219.914      6   195.91     60 11.2252 2.299e-08 ***
## Sex:Condition  11.569      6   195.91     60  0.5905    0.7366    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition           0.021108 0.089375
## Sex:Condition       0.021108 0.089375
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##               GG eps Pr(>F[GG])    
## Condition     0.4532   8.54e-05 ***
## Sex:Condition 0.4532     0.6107    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                 HF eps   Pr(>F[HF])
## Condition     0.638927 5.106093e-06
## Sex:Condition 0.638927 6.646751e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition  emmean    SE df lower.CL upper.CL
##  CMJ        4.6906 1.630 10     1.05     8.33
##  in04       0.5972 1.360 10    -2.43     3.63
##  in08      -0.0474 1.360 10    -3.08     2.99
##  in12       0.1287 1.210 10    -2.58     2.83
##  in16      -0.3409 1.050 10    -2.68     2.00
##  in20       0.0441 0.963 10    -2.10     2.19
##  in24       0.4732 1.430 10    -2.72     3.67
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    4.0935 0.977 10   4.191  0.0215
##  CMJ - in08    4.7380 0.709 10   6.685  0.0007
##  CMJ - in12    4.5619 0.894 10   5.101  0.0058
##  CMJ - in16    5.0315 1.170 10   4.302  0.0182
##  CMJ - in20    4.6465 1.030 10   4.508  0.0135
##  CMJ - in24    4.2174 0.774 10   5.445  0.0036
##  in04 - in08   0.6445 0.578 10   1.114  0.9098
##  in04 - in12   0.4684 0.283 10   1.657  0.6544
##  in04 - in16   0.9381 0.690 10   1.360  0.8103
##  in04 - in20   0.5530 0.740 10   0.748  0.9854
##  in04 - in24   0.1239 0.665 10   0.186  1.0000
##  in08 - in12  -0.1761 0.485 10  -0.363  0.9997
##  in08 - in16   0.2935 0.807 10   0.364  0.9997
##  in08 - in20  -0.0915 0.730 10  -0.125  1.0000
##  in08 - in24  -0.5206 0.450 10  -1.157  0.8951
##  in12 - in16   0.4696 0.631 10   0.744  0.9857
##  in12 - in20   0.0846 0.637 10   0.133  1.0000
##  in12 - in24  -0.3445 0.584 10  -0.590  0.9957
##  in16 - in20  -0.3851 0.373 10  -1.032  0.9344
##  in16 - in24  -0.8142 0.848 10  -0.960  0.9523
##  in20 - in24  -0.4291 0.798 10  -0.538  0.9974
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Knee_moment_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   5.7736      1  1.03748     10 55.6506  2.16e-05 ***
## Sex           0.1162      1  1.03748     10  1.1195    0.3149    
## Condition     1.7688      6  0.54058     60 32.7208 < 2.2e-16 ***
## Sex:Condition 0.0577      6  0.54058     60  1.0681    0.3917    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic   p-value
## Condition          0.0042184 0.0038781
## Sex:Condition      0.0042184 0.0038781
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.40577    3.8e-08 ***
## Sex:Condition 0.40577     0.3703    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.5459352 2.734455e-10
## Sex:Condition 0.5459352 3.799305e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition  emmean     SE df lower.CL upper.CL
##  CMJ        0.0321 0.0352 10  -0.0463   0.1106
##  in04      -0.1436 0.0571 10  -0.2709  -0.0163
##  in08      -0.2549 0.0456 10  -0.3565  -0.1534
##  in12      -0.3402 0.0530 10  -0.4582  -0.2222
##  in16      -0.3470 0.0429 10  -0.4425  -0.2515
##  in20      -0.3782 0.0333 10  -0.4525  -0.3039
##  in24      -0.4034 0.0286 10  -0.4671  -0.3397
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate     SE df t.ratio p.value
##  CMJ - in04   0.17574 0.0642 10   2.739  0.1828
##  CMJ - in08   0.28704 0.0500 10   5.741  0.0024
##  CMJ - in12   0.37230 0.0625 10   5.954  0.0018
##  CMJ - in16   0.37911 0.0504 10   7.515  0.0003
##  CMJ - in20   0.41030 0.0451 10   9.102  0.0001
##  CMJ - in24   0.43553 0.0433 10  10.058  <.0001
##  in04 - in08  0.11130 0.0352 10   3.159  0.0998
##  in04 - in12  0.19657 0.0279 10   7.038  0.0005
##  in04 - in16  0.20338 0.0395 10   5.147  0.0054
##  in04 - in20  0.23456 0.0403 10   5.827  0.0022
##  in04 - in24  0.25979 0.0453 10   5.730  0.0025
##  in08 - in12  0.08527 0.0292 10   2.922  0.1409
##  in08 - in16  0.09208 0.0183 10   5.022  0.0065
##  in08 - in20  0.12326 0.0209 10   5.894  0.0020
##  in08 - in24  0.14849 0.0331 10   4.490  0.0139
##  in12 - in16  0.00681 0.0312 10   0.218  1.0000
##  in12 - in20  0.03800 0.0338 10   1.123  0.9071
##  in12 - in24  0.06322 0.0399 10   1.584  0.6950
##  in16 - in20  0.03119 0.0115 10   2.704  0.1919
##  in16 - in24  0.05641 0.0211 10   2.669  0.2015
##  in20 - in24  0.02523 0.0169 10   1.494  0.7432
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Knee_moment_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   4.1860      1  1.28013     10 32.6997 0.0001934 ***
## Sex           0.0350      1  1.28013     10  0.2734 0.6124162    
## Condition     0.0626      6  0.31195     60  2.0059 0.0788384 .  
## Sex:Condition 0.0430      6  0.31195     60  1.3781 0.2381888    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic  p-value
## Condition          0.0076598 0.013655
## Sex:Condition      0.0076598 0.013655
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])
## Condition     0.52749     0.1304
## Sex:Condition 0.52749     0.2670
## 
##                  HF eps Pr(>F[HF])
## Condition     0.8001529 0.09722628
## Sex:Condition 0.8001529 0.25051368
## 
## ==============================
## Variable: R_Ankle_pos_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   10510.6      1     2508     10 41.9080  7.13e-05 ***
## Sex             163.9      1     2508     10  0.6534    0.4377    
## Condition      9767.1      6     1398     60 69.8634 < 2.2e-16 ***
## Sex:Condition   171.3      6     1398     60  1.2253    0.3062    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition          0.0013371 0.00026983
## Sex:Condition      0.0013371 0.00026983
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.29115  9.232e-09 ***
## Sex:Condition 0.29115     0.3123    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.3476694 4.375404e-10
## Sex:Condition 0.3476694 3.154169e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ         8.93 1.43 10     5.74   12.113
##  in04       -2.45 3.06 10    -9.28    4.380
##  in08       -6.07 2.92 10   -12.58    0.442
##  in12      -16.31 1.93 10   -20.62  -12.005
##  in16      -19.51 1.77 10   -23.46  -15.562
##  in20      -20.78 1.80 10   -24.80  -16.762
##  in24      -22.10 1.56 10   -25.58  -18.628
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04     11.38 3.070 10   3.701  0.0445
##  CMJ - in08     15.00 2.700 10   5.547  0.0031
##  CMJ - in12     25.24 1.530 10  16.510  <.0001
##  CMJ - in16     28.44 1.520 10  18.741  <.0001
##  CMJ - in20     29.71 1.420 10  20.919  <.0001
##  CMJ - in24     31.03 1.390 10  22.396  <.0001
##  in04 - in08     3.62 1.010 10   3.585  0.0529
##  in04 - in12    13.86 2.330 10   5.957  0.0018
##  in04 - in16    17.06 2.620 10   6.509  0.0009
##  in04 - in20    18.33 2.500 10   7.324  0.0003
##  in04 - in24    19.65 3.020 10   6.506  0.0009
##  in08 - in12    10.24 1.880 10   5.445  0.0036
##  in08 - in16    13.44 2.370 10   5.667  0.0027
##  in08 - in20    14.71 2.160 10   6.824  0.0006
##  in08 - in24    16.03 2.670 10   5.996  0.0017
##  in12 - in16     3.20 0.980 10   3.263  0.0855
##  in12 - in20     4.47 0.978 10   4.566  0.0124
##  in12 - in24     5.79 1.490 10   3.878  0.0342
##  in16 - in20     1.27 0.798 10   1.589  0.6921
##  in16 - in24     2.59 0.872 10   2.971  0.1313
##  in20 - in24     1.32 1.000 10   1.316  0.8308
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Ankle_pos_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)    93968      1  2342.13     10 401.2069 2.115e-09 ***
## Sex               40      1  2342.13     10   0.1696    0.6891    
## Condition        344      6   145.93     60  23.5797 4.149e-14 ***
## Sex:Condition     25      6   145.93     60   1.7223    0.1313    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.026466 0.12866
## Sex:Condition       0.026466 0.12866
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.53729  1.709e-08 ***
## Sex:Condition 0.53729      0.179    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.8229917 5.736003e-12
## Sex:Condition 0.8229917 1.477134e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ        -28.6 2.01 10    -33.1    -24.1
##  in04       -34.9 1.51 10    -38.2    -31.5
##  in08       -34.1 1.74 10    -38.0    -30.3
##  in12       -34.2 1.63 10    -37.8    -30.5
##  in16       -34.6 1.77 10    -38.5    -30.6
##  in20       -34.3 1.61 10    -37.9    -30.7
##  in24       -33.5 1.73 10    -37.4    -29.7
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    6.2995 0.724 10   8.701  0.0001
##  CMJ - in08    5.5608 0.860 10   6.462  0.0010
##  CMJ - in12    5.5740 0.647 10   8.615  0.0001
##  CMJ - in16    5.9699 0.847 10   7.048  0.0005
##  CMJ - in20    5.7233 0.744 10   7.695  0.0002
##  CMJ - in24    4.9353 0.844 10   5.848  0.0021
##  in04 - in08  -0.7387 0.694 10  -1.064  0.9254
##  in04 - in12  -0.7255 0.314 10  -2.311  0.3243
##  in04 - in16  -0.3297 0.668 10  -0.493  0.9984
##  in04 - in20  -0.5762 0.455 10  -1.267  0.8521
##  in04 - in24  -1.3642 0.626 10  -2.178  0.3816
##  in08 - in12   0.0132 0.712 10   0.018  1.0000
##  in08 - in16   0.4091 0.575 10   0.711  0.9886
##  in08 - in20   0.1625 0.557 10   0.292  0.9999
##  in08 - in24  -0.6255 0.448 10  -1.395  0.7935
##  in12 - in16   0.3959 0.692 10   0.572  0.9964
##  in12 - in20   0.1493 0.491 10   0.304  0.9999
##  in12 - in24  -0.6386 0.740 10  -0.863  0.9706
##  in16 - in20  -0.2466 0.350 10  -0.705  0.9891
##  in16 - in24  -1.0345 0.453 10  -2.286  0.3345
##  in20 - in24  -0.7880 0.526 10  -1.497  0.7415
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: R_Ankle_moment_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df Error SS den Df F value  Pr(>F)    
## (Intercept)   0.007372      1 0.012987     10  5.6767 0.03844 *  
## Sex           0.007662      1 0.012987     10  5.8995 0.03552 *  
## Condition     0.144109      6 0.042999     60 33.5144 < 2e-16 ***
## Sex:Condition 0.007639      6 0.042999     60  1.7766 0.11924    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         1.2487e-05 7.1272e-10
## Sex:Condition     1.2487e-05 7.1272e-10
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.21444  3.052e-05 ***
## Sex:Condition 0.21444     0.2089    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.2324553 1.583096e-05
## Sex:Condition 0.2324553 2.071410e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition   emmean      SE df  lower.CL upper.CL
##  CMJ       -0.08833 0.01890 10 -0.130360  -0.0463
##  in04       0.00943 0.00449 10 -0.000560   0.0194
##  in08       0.01196 0.00577 10 -0.000904   0.0248
##  in12       0.02328 0.00346 10  0.015575   0.0310
##  in16       0.03042 0.00442 10  0.020574   0.0403
##  in20       0.03653 0.00362 10  0.028453   0.0446
##  in24       0.04229 0.00355 10  0.034369   0.0502
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate      SE df t.ratio p.value
##  CMJ - in04  -0.09776 0.01960 10  -4.984  0.0068
##  CMJ - in08  -0.10028 0.02080 10  -4.828  0.0085
##  CMJ - in12  -0.11160 0.01860 10  -5.988  0.0018
##  CMJ - in16  -0.11875 0.01900 10  -6.245  0.0013
##  CMJ - in20  -0.12485 0.01820 10  -6.861  0.0006
##  CMJ - in24  -0.13062 0.01910 10  -6.829  0.0006
##  in04 - in08 -0.00252 0.00237 10  -1.065  0.9250
##  in04 - in12 -0.01384 0.00313 10  -4.418  0.0154
##  in04 - in16 -0.02099 0.00471 10  -4.455  0.0146
##  in04 - in20 -0.02709 0.00498 10  -5.444  0.0036
##  in04 - in24 -0.03285 0.00507 10  -6.475  0.0010
##  in08 - in12 -0.01132 0.00464 10  -2.438  0.2753
##  in08 - in16 -0.01846 0.00586 10  -3.151  0.1010
##  in08 - in20 -0.02457 0.00610 10  -4.025  0.0275
##  in08 - in24 -0.03033 0.00620 10  -4.889  0.0078
##  in12 - in16 -0.00715 0.00324 10  -2.203  0.3703
##  in12 - in20 -0.01325 0.00371 10  -3.569  0.0542
##  in12 - in24 -0.01901 0.00401 10  -4.746  0.0096
##  in16 - in20 -0.00610 0.00317 10  -1.927  0.5061
##  in16 - in24 -0.01187 0.00339 10  -3.498  0.0603
##  in20 - in24 -0.00576 0.00214 10  -2.697  0.1939
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## Significant main effect of Sex (no significant interaction): running post-hoc for Sex
## 
## --- Estimated marginal means (Sex) ---
##  Sex    emmean      SE df lower.CL upper.CL
##  F    0.018919 0.00556 10  0.00653   0.0313
##  M   -0.000182 0.00556 10 -0.01257   0.0122
## 
## Results are averaged over the levels of: Condition 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Sex) ---
##  contrast estimate      SE df t.ratio p.value
##  F - M      0.0191 0.00786 10   2.429  0.0355
## 
## Results are averaged over the levels of: Condition 
## 
## ==============================
## Variable: R_Ankle_moment_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                  Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.0078622      1 0.072762     10  1.0805 0.3230573    
## Sex           0.0009263      1 0.072762     10  0.1273 0.7286591    
## Condition     0.0027831      6 0.018500     60  1.5044 0.1922321    
## Sex:Condition 0.0091910      6 0.018500     60  4.9681 0.0003457 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00087781 9.5275e-05
## Sex:Condition     0.00087781 9.5275e-05
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])  
## Condition     0.26503    0.24959  
## Sex:Condition 0.26503    0.02702 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                 HF eps Pr(>F[HF])
## Condition     0.307026 0.24776255
## Sex:Condition 0.307026 0.02083036
## 
## Significant interaction: running post-hoc for Sex x Condition
## 
## --- Estimated marginal means (interaction) ---
##  Condition Sex   emmean     SE df lower.CL upper.CL
##  CMJ       F   -0.03217 0.0218 10  -0.0807   0.0164
##  in04      F    0.01392 0.0150 10  -0.0194   0.0473
##  in08      F    0.01466 0.0135 10  -0.0154   0.0447
##  in12      F    0.01122 0.0123 10  -0.0162   0.0386
##  in16      F    0.01496 0.0128 10  -0.0136   0.0436
##  in20      F    0.01423 0.0121 10  -0.0128   0.0412
##  in24      F    0.00765 0.0133 10  -0.0221   0.0374
##  CMJ       M    0.02535 0.0218 10  -0.0232   0.0739
##  in04      M    0.01555 0.0150 10  -0.0178   0.0489
##  in08      M    0.01064 0.0135 10  -0.0194   0.0407
##  in12      M    0.00663 0.0123 10  -0.0208   0.0341
##  in16      M    0.01287 0.0128 10  -0.0157   0.0415
##  in20      M    0.01029 0.0121 10  -0.0167   0.0373
##  in24      M    0.00964 0.0133 10  -0.0201   0.0394
## 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (interaction) ---
##  contrast         estimate      SE df t.ratio p.value
##  CMJ F - in04 F  -0.046088 0.01630 10  -2.824  0.3363
##  CMJ F - in08 F  -0.046835 0.01790 10  -2.621  0.4235
##  CMJ F - in12 F  -0.043389 0.01660 10  -2.619  0.4246
##  CMJ F - in16 F  -0.047131 0.01600 10  -2.948  0.2898
##  CMJ F - in20 F  -0.046404 0.01790 10  -2.596  0.4353
##  CMJ F - in24 F  -0.039820 0.01720 10  -2.313  0.5779
##  CMJ F - CMJ M   -0.057520 0.03080 10  -1.867  0.8067
##  CMJ F - in04 M  -0.047717 0.02640 10  -1.806  0.8341
##  CMJ F - in08 M  -0.042807 0.02560 10  -1.671  0.8872
##  CMJ F - in12 M  -0.038804 0.02500 10  -1.551  0.9256
##  CMJ F - in16 M  -0.045041 0.02530 10  -1.781  0.8444
##  CMJ F - in20 M  -0.042455 0.02490 10  -1.703  0.8755
##  CMJ F - in24 M  -0.041813 0.02550 10  -1.637  0.8991
##  in04 F - in08 F -0.000747 0.00663 10  -0.113  1.0000
##  in04 F - in12 F  0.002699 0.00585 10   0.461  1.0000
##  in04 F - in16 F -0.001044 0.00642 10  -0.162  1.0000
##  in04 F - in20 F -0.000316 0.00567 10  -0.056  1.0000
##  in04 F - in24 F  0.006268 0.00530 10   1.182  0.9885
##  in04 F - CMJ M  -0.011433 0.02640 10  -0.433  1.0000
##  in04 F - in04 M -0.001629 0.02120 10  -0.077  1.0000
##  in04 F - in08 M  0.003281 0.02010 10   0.163  1.0000
##  in04 F - in12 M  0.007284 0.01940 10   0.376  1.0000
##  in04 F - in16 M  0.001047 0.01970 10   0.053  1.0000
##  in04 F - in20 M  0.003633 0.01930 10   0.189  1.0000
##  in04 F - in24 M  0.004275 0.02000 10   0.213  1.0000
##  in08 F - in12 F  0.003445 0.00512 10   0.673  0.9999
##  in08 F - in16 F -0.000297 0.00651 10  -0.046  1.0000
##  in08 F - in20 F  0.000431 0.00341 10   0.126  1.0000
##  in08 F - in24 F  0.007015 0.00307 10   2.283  0.5937
##  in08 F - CMJ M  -0.010686 0.02560 10  -0.417  1.0000
##  in08 F - in04 M -0.000882 0.02010 10  -0.044  1.0000
##  in08 F - in08 M  0.004028 0.01910 10   0.211  1.0000
##  in08 F - in12 M  0.008031 0.01820 10   0.440  1.0000
##  in08 F - in16 M  0.001793 0.01860 10   0.096  1.0000
##  in08 F - in20 M  0.004380 0.01810 10   0.242  1.0000
##  in08 F - in24 M  0.005022 0.01900 10   0.265  1.0000
##  in12 F - in16 F -0.003742 0.00499 10  -0.751  0.9998
##  in12 F - in20 F -0.003015 0.00462 10  -0.653  1.0000
##  in12 F - in24 F  0.003569 0.00431 10   0.829  0.9995
##  in12 F - CMJ M  -0.014131 0.02500 10  -0.565  1.0000
##  in12 F - in04 M -0.004328 0.01940 10  -0.223  1.0000
##  in12 F - in08 M  0.000582 0.01820 10   0.032  1.0000
##  in12 F - in12 M  0.004585 0.01740 10   0.263  1.0000
##  in12 F - in16 M -0.001652 0.01780 10  -0.093  1.0000
##  in12 F - in20 M  0.000934 0.01730 10   0.054  1.0000
##  in12 F - in24 M  0.001577 0.01820 10   0.087  1.0000
##  in16 F - in20 F  0.000727 0.00617 10   0.118  1.0000
##  in16 F - in24 F  0.007311 0.00587 10   1.245  0.9829
##  in16 F - CMJ M  -0.010389 0.02530 10  -0.411  1.0000
##  in16 F - in04 M -0.000586 0.01970 10  -0.030  1.0000
##  in16 F - in08 M  0.004325 0.01860 10   0.232  1.0000
##  in16 F - in12 M  0.008327 0.01780 10   0.468  1.0000
##  in16 F - in16 M  0.002090 0.01820 10   0.115  1.0000
##  in16 F - in20 M  0.004676 0.01770 10   0.265  1.0000
##  in16 F - in24 M  0.005319 0.01850 10   0.287  1.0000
##  in20 F - in24 F  0.006584 0.00451 10   1.461  0.9483
##  in20 F - CMJ M  -0.011116 0.02490 10  -0.446  1.0000
##  in20 F - in04 M -0.001313 0.01930 10  -0.068  1.0000
##  in20 F - in08 M  0.003597 0.01810 10   0.199  1.0000
##  in20 F - in12 M  0.007600 0.01730 10   0.440  1.0000
##  in20 F - in16 M  0.001363 0.01770 10   0.077  1.0000
##  in20 F - in20 M  0.003949 0.01710 10   0.230  1.0000
##  in20 F - in24 M  0.004591 0.01800 10   0.255  1.0000
##  in24 F - CMJ M  -0.017700 0.02550 10  -0.693  0.9999
##  in24 F - in04 M -0.007897 0.02000 10  -0.394  1.0000
##  in24 F - in08 M -0.002987 0.01900 10  -0.158  1.0000
##  in24 F - in12 M  0.001016 0.01820 10   0.056  1.0000
##  in24 F - in16 M -0.005221 0.01850 10  -0.282  1.0000
##  in24 F - in20 M -0.002635 0.01800 10  -0.146  1.0000
##  in24 F - in24 M -0.001993 0.01890 10  -0.106  1.0000
##  CMJ M - in04 M   0.009804 0.01630 10   0.601  1.0000
##  CMJ M - in08 M   0.014714 0.01790 10   0.824  0.9995
##  CMJ M - in12 M   0.018717 0.01660 10   1.130  0.9920
##  CMJ M - in16 M   0.012479 0.01600 10   0.781  0.9997
##  CMJ M - in20 M   0.015065 0.01790 10   0.843  0.9994
##  CMJ M - in24 M   0.015708 0.01720 10   0.912  0.9988
##  in04 M - in08 M  0.004910 0.00663 10   0.740  0.9998
##  in04 M - in12 M  0.008913 0.00585 10   1.524  0.9329
##  in04 M - in16 M  0.002676 0.00642 10   0.416  1.0000
##  in04 M - in20 M  0.005262 0.00567 10   0.928  0.9986
##  in04 M - in24 M  0.005904 0.00530 10   1.113  0.9929
##  in08 M - in12 M  0.004003 0.00512 10   0.782  0.9997
##  in08 M - in16 M -0.002234 0.00651 10  -0.343  1.0000
##  in08 M - in20 M  0.000352 0.00341 10   0.103  1.0000
##  in08 M - in24 M  0.000994 0.00307 10   0.324  1.0000
##  in12 M - in16 M -0.006237 0.00499 10  -1.251  0.9822
##  in12 M - in20 M -0.003651 0.00462 10  -0.791  0.9997
##  in12 M - in24 M -0.003009 0.00431 10  -0.699  0.9999
##  in16 M - in20 M  0.002586 0.00617 10   0.419  1.0000
##  in16 M - in24 M  0.003229 0.00587 10   0.550  1.0000
##  in20 M - in24 M  0.000642 0.00451 10   0.143  1.0000
## 
## P value adjustment: tukey method for comparing a family of 14 estimates 
## 
## ==============================
## Variable: L_Ankle_pos_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   15310.3      1   2642.0     10 57.9505 1.814e-05 ***
## Sex              30.7      1   2642.0     10  0.1160    0.7404    
## Condition      9672.9      6   1520.7     60 63.6078 < 2.2e-16 ***
## Sex:Condition    94.4      6   1520.7     60  0.6206    0.7130    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition          0.0010321 0.00014273
## Sex:Condition      0.0010321 0.00014273
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.32251  3.741e-09 ***
## Sex:Condition 0.32251     0.5429    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.3985431 7.497522e-11
## Sex:Condition 0.3985431 5.736914e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ          9.7 1.08 10     7.28   12.108
##  in04        -7.4 3.21 10   -14.56   -0.247
##  in08       -13.3 2.93 10   -19.82   -6.772
##  in12       -17.9 2.10 10   -22.62  -13.247
##  in16       -20.8 1.99 10   -25.29  -16.405
##  in20       -22.0 1.73 10   -25.85  -18.147
##  in24       -22.7 1.80 10   -26.72  -18.710
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    17.100 3.540 10   4.835  0.0084
##  CMJ - in08    22.989 3.000 10   7.656  0.0002
##  CMJ - in12    27.630 2.000 10  13.818  <.0001
##  CMJ - in16    30.543 2.010 10  15.205  <.0001
##  CMJ - in20    31.695 1.550 10  20.409  <.0001
##  CMJ - in24    32.412 1.780 10  18.206  <.0001
##  in04 - in08    5.889 1.600 10   3.673  0.0464
##  in04 - in12   10.530 2.460 10   4.277  0.0189
##  in04 - in16   13.442 2.480 10   5.416  0.0038
##  in04 - in20   14.595 2.920 10   4.996  0.0067
##  in04 - in24   15.312 2.900 10   5.282  0.0045
##  in08 - in12    4.641 1.710 10   2.710  0.1903
##  in08 - in16    7.553 2.090 10   3.617  0.0505
##  in08 - in20    8.706 2.210 10   3.938  0.0313
##  in08 - in24    9.423 2.230 10   4.217  0.0207
##  in12 - in16    2.912 0.936 10   3.110  0.1072
##  in12 - in20    4.065 0.910 10   4.468  0.0143
##  in12 - in24    4.782 1.110 10   4.322  0.0177
##  in16 - in20    1.153 0.797 10   1.446  0.7678
##  in16 - in24    1.870 0.822 10   2.276  0.3387
##  in20 - in24    0.717 0.653 10   1.098  0.9152
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Ankle_pos_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##               Sum Sq num Df Error SS den Df  F value    Pr(>F)    
## (Intercept)    90249      1  2470.31     10 365.3360 3.341e-09 ***
## Sex              128      1  2470.31     10   0.5164    0.4888    
## Condition        293      6   238.02     60  12.3095 5.585e-09 ***
## Sex:Condition     27      6   238.02     60   1.1149    0.3645    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic p-value
## Condition           0.023049 0.10326
## Sex:Condition       0.023049 0.10326
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])    
## Condition     0.50704  1.797e-05 ***
## Sex:Condition 0.50704     0.3588    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.7537145 3.095541e-07
## Sex:Condition 0.7537145 3.640435e-01
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition emmean   SE df lower.CL upper.CL
##  CMJ        -28.3 2.19 10    -33.2    -23.4
##  in04       -33.5 1.55 10    -36.9    -30.0
##  in08       -33.3 1.94 10    -37.7    -29.0
##  in12       -33.3 1.74 10    -37.2    -29.4
##  in16       -34.2 1.56 10    -37.7    -30.7
##  in20       -34.0 1.64 10    -37.7    -30.4
##  in24       -32.8 1.85 10    -36.9    -28.7
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast    estimate    SE df t.ratio p.value
##  CMJ - in04    5.1549 1.150 10   4.483  0.0140
##  CMJ - in08    4.9917 1.140 10   4.365  0.0166
##  CMJ - in12    4.9666 1.120 10   4.431  0.0151
##  CMJ - in16    5.8614 1.230 10   4.770  0.0093
##  CMJ - in20    5.7007 0.995 10   5.728  0.0025
##  CMJ - in24    4.4647 0.909 10   4.909  0.0076
##  in04 - in08  -0.1631 0.607 10  -0.269  1.0000
##  in04 - in12  -0.1883 0.626 10  -0.301  0.9999
##  in04 - in16   0.7065 0.686 10   1.030  0.9351
##  in04 - in20   0.5458 0.528 10   1.034  0.9338
##  in04 - in24  -0.6901 0.580 10  -1.189  0.8833
##  in08 - in12  -0.0252 0.757 10  -0.033  1.0000
##  in08 - in16   0.8696 0.999 10   0.870  0.9695
##  in08 - in20   0.7089 0.688 10   1.030  0.9350
##  in08 - in24  -0.5270 0.745 10  -0.707  0.9890
##  in12 - in16   0.8948 0.584 10   1.533  0.7224
##  in12 - in20   0.7341 0.450 10   1.632  0.6685
##  in12 - in24  -0.5018 0.675 10  -0.744  0.9858
##  in16 - in20  -0.1607 0.414 10  -0.389  0.9996
##  in16 - in24  -1.3966 0.835 10  -1.673  0.6454
##  in20 - in24  -1.2359 0.597 10  -2.071  0.4322
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Ankle_moment_contact 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                 Sum Sq num Df Error SS den Df F value    Pr(>F)    
## (Intercept)   0.010830      1 0.011129     10  9.7311   0.01088 *  
## Sex           0.005246      1 0.011129     10  4.7136   0.05507 .  
## Condition     0.185605      6 0.064613     60 28.7255 6.395e-16 ***
## Sex:Condition 0.019240      6 0.064613     60  2.9776   0.01301 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         6.5999e-06 1.0523e-10
## Sex:Condition     6.5999e-06 1.0523e-10
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##               GG eps Pr(>F[GG])    
## Condition     0.2096   7.67e-05 ***
## Sex:Condition 0.2096      0.103    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
##                  HF eps   Pr(>F[HF])
## Condition     0.2255919 4.520413e-05
## Sex:Condition 0.2255919 9.872134e-02
## 
## Significant main effect of Condition (no significant interaction): running post-hoc for Condition
## 
## --- Estimated marginal means (Condition) ---
##  Condition  emmean      SE df lower.CL upper.CL
##  CMJ       -0.1030 0.02230 10  -0.1527  -0.0534
##  in04       0.0224 0.00444 10   0.0125   0.0323
##  in08       0.0279 0.00570 10   0.0152   0.0406
##  in12       0.0275 0.00397 10   0.0186   0.0363
##  in16       0.0296 0.00461 10   0.0193   0.0399
##  in20       0.0346 0.00405 10   0.0256   0.0437
##  in24       0.0406 0.00540 10   0.0285   0.0526
## 
## Results are averaged over the levels of: Sex 
## Confidence level used: 0.95 
## 
## --- Pairwise comparisons (Condition) ---
##  contrast     estimate      SE df t.ratio p.value
##  CMJ - in04  -0.125387 0.02440 10  -5.131  0.0056
##  CMJ - in08  -0.130923 0.02460 10  -5.330  0.0042
##  CMJ - in12  -0.130510 0.02300 10  -5.684  0.0026
##  CMJ - in16  -0.132634 0.02250 10  -5.887  0.0020
##  CMJ - in20  -0.137682 0.02320 10  -5.942  0.0019
##  CMJ - in24  -0.143587 0.02480 10  -5.801  0.0022
##  in04 - in08 -0.005536 0.00349 10  -1.587  0.6931
##  in04 - in12 -0.005123 0.00356 10  -1.439  0.7715
##  in04 - in16 -0.007247 0.00583 10  -1.243  0.8622
##  in04 - in20 -0.012295 0.00504 10  -2.438  0.2754
##  in04 - in24 -0.018201 0.00643 10  -2.830  0.1608
##  in08 - in12  0.000413 0.00423 10   0.098  1.0000
##  in08 - in16 -0.001711 0.00683 10  -0.250  1.0000
##  in08 - in20 -0.006759 0.00665 10  -1.016  0.9386
##  in08 - in24 -0.012664 0.00670 10  -1.891  0.5255
##  in12 - in16 -0.002124 0.00344 10  -0.618  0.9945
##  in12 - in20 -0.007172 0.00375 10  -1.911  0.5148
##  in12 - in24 -0.013077 0.00546 10  -2.397  0.2903
##  in16 - in20 -0.005048 0.00307 10  -1.642  0.6629
##  in16 - in24 -0.010953 0.00481 10  -2.276  0.3387
##  in20 - in24 -0.005905 0.00410 10  -1.442  0.7701
## 
## Results are averaged over the levels of: Sex 
## P value adjustment: tukey method for comparing a family of 7 estimates 
## 
## ==============================
## Variable: L_Ankle_moment_low 
## ==============================
## 
## Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
## 
##                  Sum Sq num Df Error SS den Df F value Pr(>F)
## (Intercept)   0.0059553      1 0.082441     10  0.7224 0.4153
## Sex           0.0000436      1 0.082441     10  0.0053 0.9435
## Condition     0.0013384      6 0.016319     60  0.8201 0.5587
## Sex:Condition 0.0022134      6 0.016319     60  1.3563 0.2470
## 
## 
## Mauchly Tests for Sphericity
## 
##               Test statistic    p-value
## Condition         0.00062571 4.0358e-05
## Sex:Condition     0.00062571 4.0358e-05
## 
## 
## Greenhouse-Geisser and Huynh-Feldt Corrections
##  for Departure from Sphericity
## 
##                GG eps Pr(>F[GG])
## Condition     0.27712     0.4369
## Sex:Condition 0.27712     0.2801
## 
##                 HF eps Pr(>F[HF])
## Condition     0.325636  0.4524054
## Sex:Condition 0.325636  0.2803658
library(ggplot2)
library(cowplot)

# 1. Define SSU blues (primary + light) from the official brand guide
ssu_colors <- c("#004C97", "#ABCAE9")  # SSU Blue & SSU Light Blue :contentReference[oaicite:1]{index=1}

# 2. Base plots (no titles, no x-labels)
p1_base <- ggplot(d, aes(x = Condition, y = JH, fill = Sex)) +
  geom_boxplot(position = position_dodge(width = 0.75)) +
  scale_fill_manual(values = ssu_colors) +
  scale_x_discrete(labels = c('0"','4"','8"','12"','16"','20"','24"'))+
  labs(x = NULL, y = "Jump Height (cm)") +
  theme_minimal(base_size = 34) +
  theme(
    plot.title       = element_blank(),
    axis.title.x     = element_blank()
  )

p2_base <- ggplot(d, aes(x = Condition, y = LegK, fill = Sex)) +
  geom_boxplot(position = position_dodge(width = 0.75)) +
  scale_fill_manual(values = ssu_colors) +
  scale_x_discrete(labels = c('0"','4"','8"','12"','16"','20"','24"'))+
  labs(x = NULL, y = "Leg Stiffness (N/m)") +
  theme_minimal(base_size = 34) + 
  theme(
    plot.title       = element_blank(),
    axis.title.x     = element_blank(),
    legend.position  = "none"
  )

# 3. Extract just the bottom legend (matching only the bottom guide-box)
shared_legend <- get_plot_component(
  p1_base + theme(legend.position = "bottom") +
    guides(fill = guide_legend()),
  "guide-box-bottom"
)

# 4. Remove legend from p1 itself
p1_nolegend <- p1_base + theme(legend.position = "none")

# 5. Combine the panels and then stack the legend below
combined <- plot_grid(
  p1_nolegend, p2_base,
  labels     = c("A", "B"),
  label_size = 34,
  ncol       = 2,
  align      = "hv"
)

final_plot <- plot_grid(
  combined,
  shared_legend,
  ncol        = 1,
  rel_heights = c(1, 0.1)
)

# 6. Display
print(final_plot)

# 2. Save as JPEG at 14.6" × 8"
ggsave(
  filename = "combined_plot.jpeg",
  plot     = final_plot,
  device   = "jpeg",
  path     = "G:/My Drive/00_Research/Koret_24_25/2024-25KORET/results",
  width    = 14.6,
  height   = 8,
  units    = "in",
  dpi      = 300
)
library(tidyr); library(dplyr)
library(ggplot2); library(emmeans)

# 1. reshape to long
d_joint <- d %>%
  pivot_longer(
    cols      = c(R_HipK, R_KneeK, R_AnkleK),
    names_to  = "Joint",
    values_to = "Angle"
  ) %>%
  mutate(
    Joint     = factor(Joint),
    Condition = factor(Condition)
  )

# 2. fit a repeated-measures ANOVA
#    Replace ID with your subject‐ID column name
model_rm <- aov(
  Angle ~ Joint * Condition + Error(ParticipantNo_ / (Joint * Condition)),
  data = d_joint
)

# 3. ANOVA table
summary(model_rm)
## 
## Error: ParticipantNo_
##           Df  Sum Sq  Mean Sq F value Pr(>F)
## Residuals 11 0.08436 0.007669               
## 
## Error: ParticipantNo_:Joint
##           Df  Sum Sq  Mean Sq F value  Pr(>F)   
## Joint      2 0.02538 0.012689   8.426 0.00192 **
## Residuals 22 0.03313 0.001506                   
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Error: ParticipantNo_:Condition
##           Df  Sum Sq  Mean Sq F value   Pr(>F)    
## Condition  6 0.03357 0.005594   8.449 8.24e-07 ***
## Residuals 66 0.04370 0.000662                     
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Error: ParticipantNo_:Joint:Condition
##                  Df  Sum Sq   Mean Sq F value   Pr(>F)    
## Joint:Condition  12 0.01500 0.0012504   3.537 0.000145 ***
## Residuals       132 0.04667 0.0003536                     
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
# 4. post-hoc pairwise tests via emmeans

emm <- emmeans(model_rm, ~ Condition | Joint)
emm <- pairs(emm, adjust = "bonferroni")
# turn your emmeans::pairs result into a plain data.frame
emm_df <- as.data.frame(emm)

# print with kable, highlighting significant rows
kable(
  emm_df,
  caption    = "Pairwise Condition Comparisons for each joint (Bonferroni-adjusted)",
  booktabs   = TRUE,
  digits     = c(3, 3, 3, 3, 3, 3),    # adjust as needed: contrast, estimate, SE, df, t.ratio, p.value
  align      = "lrrrrr"
) %>%
  kable_styling(full_width = FALSE) %>%
  # highlight entire row in yellow where p.value < 0.05
  row_spec(
    which(emm_df$p.value < 0.05),
    background = "yellow"
  )
Pairwise Condition Comparisons for each joint (Bonferroni-adjusted)
contrast Joint estimate SE df t.ratio p.value
CMJ - in04 R_AnkleK -0.007 0.009 179.745 -0.793 1.000
CMJ - in08 R_AnkleK 0.013 0.009 179.745 1.462 1.000
CMJ - in12 R_AnkleK 0.023 0.009 179.745 2.634 0.192
CMJ - in16 R_AnkleK 0.028 0.009 179.745 3.217 0.032
CMJ - in20 R_AnkleK 0.032 0.009 179.745 3.677 0.007
CMJ - in24 R_AnkleK 0.037 0.009 179.745 4.263 0.001
in04 - in08 R_AnkleK 0.020 0.009 179.745 2.255 0.533
in04 - in12 R_AnkleK 0.030 0.009 179.745 3.427 0.016
in04 - in16 R_AnkleK 0.035 0.009 179.745 4.011 0.002
in04 - in20 R_AnkleK 0.039 0.009 179.745 4.471 0.000
in04 - in24 R_AnkleK 0.044 0.009 179.745 5.056 0.000
in08 - in12 R_AnkleK 0.010 0.009 179.745 1.173 1.000
in08 - in16 R_AnkleK 0.015 0.009 179.745 1.756 1.000
in08 - in20 R_AnkleK 0.019 0.009 179.745 2.216 0.587
in08 - in24 R_AnkleK 0.024 0.009 179.745 2.802 0.118
in12 - in16 R_AnkleK 0.005 0.009 179.745 0.583 1.000
in12 - in20 R_AnkleK 0.009 0.009 179.745 1.043 1.000
in12 - in24 R_AnkleK 0.014 0.009 179.745 1.629 1.000
in16 - in20 R_AnkleK 0.004 0.009 179.745 0.460 1.000
in16 - in24 R_AnkleK 0.009 0.009 179.745 1.046 1.000
in20 - in24 R_AnkleK 0.005 0.009 179.745 0.586 1.000
CMJ - in04 R_HipK -0.011 0.009 179.745 -1.292 1.000
CMJ - in08 R_HipK 0.003 0.009 179.745 0.355 1.000
CMJ - in12 R_HipK 0.004 0.009 179.745 0.412 1.000
CMJ - in16 R_HipK 0.005 0.009 179.745 0.554 1.000
CMJ - in20 R_HipK 0.000 0.009 179.745 -0.048 1.000
CMJ - in24 R_HipK 0.008 0.009 179.745 0.912 1.000
in04 - in08 R_HipK 0.014 0.009 179.745 1.646 1.000
in04 - in12 R_HipK 0.015 0.009 179.745 1.704 1.000
in04 - in16 R_HipK 0.016 0.009 179.745 1.846 1.000
in04 - in20 R_HipK 0.011 0.009 179.745 1.244 1.000
in04 - in24 R_HipK 0.019 0.009 179.745 2.203 0.606
in08 - in12 R_HipK 0.001 0.009 179.745 0.057 1.000
in08 - in16 R_HipK 0.002 0.009 179.745 0.200 1.000
in08 - in20 R_HipK -0.004 0.009 179.745 -0.402 1.000
in08 - in24 R_HipK 0.005 0.009 179.745 0.557 1.000
in12 - in16 R_HipK 0.001 0.009 179.745 0.142 1.000
in12 - in20 R_HipK -0.004 0.009 179.745 -0.460 1.000
in12 - in24 R_HipK 0.004 0.009 179.745 0.499 1.000
in16 - in20 R_HipK -0.005 0.009 179.745 -0.602 1.000
in16 - in24 R_HipK 0.003 0.009 179.745 0.357 1.000
in20 - in24 R_HipK 0.008 0.009 179.745 0.959 1.000
CMJ - in04 R_KneeK -0.051 0.009 179.745 -5.855 0.000
CMJ - in08 R_KneeK -0.032 0.009 179.745 -3.636 0.008
CMJ - in12 R_KneeK -0.017 0.009 179.745 -1.955 1.000
CMJ - in16 R_KneeK -0.010 0.009 179.745 -1.179 1.000
CMJ - in20 R_KneeK -0.009 0.009 179.745 -1.030 1.000
CMJ - in24 R_KneeK 0.003 0.009 179.745 0.290 1.000
in04 - in08 R_KneeK 0.019 0.009 179.745 2.218 0.583
in04 - in12 R_KneeK 0.034 0.009 179.745 3.900 0.003
in04 - in16 R_KneeK 0.041 0.009 179.745 4.676 0.000
in04 - in20 R_KneeK 0.042 0.009 179.745 4.825 0.000
in04 - in24 R_KneeK 0.054 0.009 179.745 6.144 0.000
in08 - in12 R_KneeK 0.015 0.009 179.745 1.681 1.000
in08 - in16 R_KneeK 0.021 0.009 179.745 2.457 0.314
in08 - in20 R_KneeK 0.023 0.009 179.745 2.606 0.208
in08 - in24 R_KneeK 0.034 0.009 179.745 3.926 0.003
in12 - in16 R_KneeK 0.007 0.009 179.745 0.776 1.000
in12 - in20 R_KneeK 0.008 0.009 179.745 0.925 1.000
in12 - in24 R_KneeK 0.020 0.009 179.745 2.245 0.546
in16 - in20 R_KneeK 0.001 0.009 179.745 0.149 1.000
in16 - in24 R_KneeK 0.013 0.009 179.745 1.469 1.000
in20 - in24 R_KneeK 0.012 0.009 179.745 1.320 1.000
# 1) reorder Joint
d_joint$Joint <- factor(
  d_joint$Joint,
  levels = c("R_HipK", "R_KneeK", "R_AnkleK")
)

# 2) SSU color palette
ssu_cols <- c(
  "R_HipK"   = "#004C97",  # SSU Blue
  "R_KneeK"  = "#ABCAE9",  # SSU Light Blue
  "R_AnkleK" = "white"   # SSU Tech
)

pp <- ggplot(d_joint, aes(x = Condition, y = Angle, fill = Joint)) +
  geom_boxplot(position = position_dodge(width = 0.75)) +
  scale_fill_manual(values = ssu_cols,
                    labels = c("Hip","Knee","Ankle")) +
  labs(
    x    = NULL,                            # remove x-axis label
    y    = "Joint Stiffness (Nm/deg)",      # new y-axis label
    fill = "Joint"
  ) +
  # 4) preserve your original tick labels
  scale_x_discrete(labels = levels(d$Condition)) +
  theme_minimal(base_size = 34) +
  theme(
    axis.text.x    = element_text(angle = 45, hjust = 1),
    legend.position = "right",
    legend.title = element_blank()
  )

plot(pp)

ggsave(
  filename = "joint stiffness.jpeg",
  plot     = pp,
  device   = "jpeg",
  path     = "G:/My Drive/00_Research/Koret_24_25/2024-25KORET/results",
  width    = 14.6,
  height   = 8,
  units    = "in",
  dpi      = 300
)