Try this code t.test(CMJ measure ~ Test, data = data, paired = TRUE)
ggplot(data = data, aes(x = Test, y = Jump_height, fill = Test)) +geom_boxplot() +geom_jitter(color ="grey") +labs(title ="Boxplot") +theme_classic() +theme(legend.position ="none")
t.test(Jump_height ~ Test, data = data, paired =TRUE)
Paired t-test
data: Jump_height by Test
t = 2.501, df = 28, p-value = 0.01851
alternative hypothesis: true mean difference is not equal to 0
95 percent confidence interval:
0.134173 1.348586
sample estimates:
mean difference
0.7413793