https://github.com/stscl/sesp_logo
Logo for R package esp
https://github.com/stscl/sesp_logo
Last synced: 6 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 (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T09:55:25.000Z (6 months ago)
- Last Synced: 2024-11-10T10:32:20.045Z (6 months ago)
- Language: R
- Homepage:
- Size: 474 KB
- Stars: 2
- 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 = 2.55,
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.45,
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
girlfriend](https://github.com/layeyo) for her invaluable assistance in
designing the foundational sesp figure.**