https://github.com/stscl/sesp_logo
Logo for R package esp
https://github.com/stscl/sesp_logo
Last synced: 8 months ago
JSON representation
Logo for R package esp
- Host: GitHub
- URL: https://github.com/stscl/sesp_logo
- Owner: stscl
- Created: 2024-10-03T14:39:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T12:10:05.000Z (over 1 year ago)
- Last Synced: 2025-05-02T02:38:41.105Z (about 1 year ago)
- Language: R
- Homepage:
- Size: 555 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
``` r
library(showtext)
showtext_auto(enable = TRUE)
font_add("ShineTypewriter", regular = "./ShineTypewriter-lgwzd.ttf")
library(hexSticker)
library(magick)
sticker(
subplot = "./fig_sesp.png",
s_x = 1.005,
s_y = 0.955,
s_width = .6,
s_height = .6,
package = "Spatially Explicit Stratified Power",
p_family = "ShineTypewriter",
p_size = 5.5,
p_x = 1.00,
p_y = 1.60,
p_color = ggplot2::alpha("#aa3322",1),
dpi = 300,
asp = 1,
h_size = 1.75,
h_color = ggplot2::alpha("#c3c3b4",1),
h_fill = '#ffffff',
white_around_sticker = F,
url = "https://stscl.github.io/sesp",
u_color = ggplot2::alpha("#3e3221",.75),
u_size = 5.55,
filename = "sesp_logo.png"
)
image_read('./sesp_logo.png') |>
image_resize("240x278")|>
image_write('./sesp_logo.png')
```

**I would like to extend my sincere gratitude to [my
friend](https://github.com/layeyo) for her invaluable assistance in
designing the foundational sesp figure.**