Skip to content

Commit

Permalink
update data files
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-imbi committed Sep 25, 2023
1 parent 807c52a commit b507e26
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/code/graphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ f_p_reject <- adestr:::plot_rejection_regions(
Normal(two_armed = FALSE), designad, 0, 1, subdivisions = 200L)
f_p <- ggarrange(f_p_sw, f_p_ml, f_p_lr, f_p_st, f_p_np, f_p_reject, ncol = 2, nrow = 3,
legend.grob = gridExtra::gtable_rbind(get_legend(f_p_reject), get_legend(f_p_sw)))
Cairo::CairoTIFF("data/f_p.tiff", width = 900, height = 700)
Cairo::CairoTIFF("data/f_p.tiff", width = 900*3.5*2, height = 700*3.5*2, res = 310*2)
f_p
dev.off()
Cairo::CairoPNG("data/f_p.png", width = 900, height = 700)
Cairo::CairoPNG("data/f_p.png", width = 900*3.5*2, height = 700*3.5*2, res = 310*2)
f_p
dev.off()

Expand All @@ -139,10 +139,10 @@ f_p_reject <- adestr:::plot_rejection_regions(
Normal(two_armed = FALSE), designgs, 0, 1, subdivisions = 200L)
f_p <- ggarrange(f_p_sw, f_p_ml, f_p_lr, f_p_st, f_p_np, f_p_reject, ncol = 2, nrow = 3,
legend.grob = gridExtra::gtable_rbind(get_legend(f_p_reject), get_legend(f_p_sw)))
Cairo::CairoTIFF("data/f_p_gs.tiff", width = 900, height = 700)
Cairo::CairoTIFF("data/f_p_gs.tiff", width = 900*3.5*2, height = 700*3.5*2, res = 310*2)
f_p
dev.off()
Cairo::CairoPNG("data/f_p_gs.png", width = 900, height = 700)
Cairo::CairoPNG("data/f_p_gs.png", width = 900*3.5*2, height = 700*3.5*2, res = 310*2)
f_p
dev.off()

Expand Down
Binary file removed data/f_p.png
Binary file not shown.
Binary file removed data/f_p.tiff
Binary file not shown.
Binary file removed data/f_p_gs.png
Binary file not shown.
Binary file removed data/f_p_gs.tiff
Binary file not shown.

0 comments on commit b507e26

Please sign in to comment.