FEV1-FVC散布図

FEV1-FVC散布図テンプレート。肺機能パラメータの相関分析。

scatter散布図FEV1FVC呼吸器
FEV1-FVC散布図

R Code (ggplot2)

library(ggplot2)

# ---- FEV1/FVC Scatter ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "FVC (L)", limits = c(0, 6)) +
  scale_y_continuous(name = "FEV1 (L)", limits = c(0, 5)) +
  labs(title = "FEV1/FVC Scatter") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))