パッシング・バブロック回帰

パッシング・バブロック回帰テンプレート。2測定法の比較に使用。

パッシング・バブロック方法比較
パッシング・バブロック回帰

R Code (ggplot2)

library(ggplot2)

# ---- Passing-Bablok 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 = "Method A", limits = c(0, 100)) +
  scale_y_continuous(name = "Method B", limits = c(0, 100)) +
  labs(title = "Passing-Bablok Regression") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))