周波数別聴力(箱ひげ図)

周波数別の聴力レベル分布を比較する箱ひげ図テンプレート。

聴力周波数箱ひげ聴力検査
周波数別聴力(箱ひげ図)

R Code (ggplot2)

library(ggplot2)

# ---- Hearing Level by Frequency (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 = "Frequency (Hz)", limits = c(0, 7)) +
  scale_y_continuous(name = "Hearing Level (dB)", limits = c(-10, 120)) +
  labs(title = "Hearing Level by Frequency (Boxplot)") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))