心血管リスク散布回帰

心血管リスク散布回帰テンプレート。LDLとIMTの回帰分析。

scatterregressionLDLIMT循環器
心血管リスク散布回帰

R Code (ggplot2)

library(ggplot2)

# ---- CV Risk Factor 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 = "LDL-C (mg/dL)", limits = c(50, 200)) +
  scale_y_continuous(name = "CIMT (mm)", limits = c(0.3, 1.5)) +
  labs(title = "CV Risk Factor Scatter Regression") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))