Skip to content

Commit

Permalink
new sticker
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-imbi committed May 17, 2022
1 parent c9d828b commit d8a8701
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified man/figures/sticker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed sticker/screenshot.png
Binary file not shown.
Binary file added sticker/screenshot.tiff
Binary file not shown.
6 changes: 3 additions & 3 deletions sticker/sticker.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
library(hexSticker)
library(ggplot2)
imgurl <- here::here("misc/screenshot.png")
imgurl <- here::here("sticker/screenshot.tiff")
sticker <- sticker(imgurl,
package = "OptimalGoldstandardDesigns", p_size = 8 * 4000 / 300,
package = "OptimalGoldstandardDesigns", p_size = 8 * 6000 / 300,
s_x = 1, s_y = .85, s_width = .85,
p_color = "black",
h_fill = "white",
h_color = "#cdcdff",
filename = "man/figures/sticker.png",
dpi = 4000
dpi = 6000
)

0 comments on commit d8a8701

Please sign in to comment.