視力-RNFL散布回帰

視力-RNFL散布回帰テンプレート。RNFL厚と視力の回帰分析。

scatterregressionRNFL視力眼科
視力-RNFL散布回帰

R Code (ggplot2)

library(ggplot2)

# ---- VA vs RNFL 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 = "RNFL Thickness (μm)", limits = c(30, 120)) +
  scale_y_continuous(name = "Visual Acuity (logMAR)", limits = c(-0.3, 1.5)) +
  labs(title = "VA vs RNFL Scatter Regression") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))