2x2分割表
2x2分割表テンプレート。疫学研究のリスク評価(RR/OR)に使用。

R Code (ggplot2)
library(ggplot2) # ---- 2x2 Contingency Table ---- # あなたのデータを入力してください df <- data.frame( x = c(), y = c() ) ggplot(df, aes(x = x, y = y)) + geom_point(size = 2) + geom_line() + scale_x_continuous(name = "", limits = c(0, 4)) + scale_y_continuous(name = "", limits = c(0, 4)) + labs(title = "2x2 Contingency Table") + theme_bw(base_size = 14) + theme(plot.title = element_text(face = "bold", hjust = 0.5))







