方法比較

方法比較テンプレート。参照法と新法の相関をプロット。

方法比較相関一致度
方法比較

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Reference method", limits = c(0, 100)) +
  scale_y_continuous(name = "Test method", limits = c(0, 100)) +
  labs(title = "Method Comparison") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))