FEV1-DLCO散布回帰

FEV1-DLCO散布回帰テンプレート。肺機能パラメータの回帰分析。

scatterregressionFEV1DLCO呼吸器
FEV1-DLCO散布回帰

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "FEV1 (% pred)", limits = c(20, 120)) +
  scale_y_continuous(name = "DLCO (% pred)", limits = c(20, 120)) +
  labs(title = "FEV1 vs DLCO Scatter Regression") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))