ウエストガードルールQC管理図

ウエストガードルールQC管理図テンプレート。QCルール判定の視覚化。

westgardウエストガードQC管理図精度管理
ウエストガードルールQC管理図

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Run Number", limits = c(1, 30)) +
  scale_y_continuous(name = "SD Units", limits = c(-4, 4)) +
  labs(title = "Westgard Rules QC Chart") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))