関節別ROM(箱ひげ図)

関節別の可動域分布を比較する箱ひげ図テンプレート。

ROM可動域箱ひげ関節
関節別ROM(箱ひげ図)

R Code (ggplot2)

library(ggplot2)

# ---- ROM by Joint (Boxplot) ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Joint", limits = c(0, 5)) +
  scale_y_continuous(name = "Range of Motion (degrees)", limits = c(0, 180)) +
  labs(title = "ROM by Joint (Boxplot)") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))