Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
dsjohnson committed Oct 2, 2024
2 parents 984655b + 2a3cb39 commit eb89f36
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
[.]so$
[.]o$
^CRAN-SUBMISSION$
^hex_sticker$
6 changes: 6 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ knitr::opts_chunk$set(
<!-- badges: end -->

## Correlated RAndom Walk Library of R functions
<p float="left">
<img src="hex_sticker/crawl.png" height="200"/>
&nbsp; &nbsp;
<img src="hex_sticker/noaa.png" height="200"/>
</p>


The [C]orrelated [RA]ndom [W]alk [L]ibrary of R functions was designed for fitting
continuous-time correlated random walk (CTCRW) models with time indexed
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ stable](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecy

## Correlated RAndom Walk Library of R functions

<p float="left">
<img src="hex_sticker/crawl.png" height="200"/>    
<img src="hex_sticker/noaa.png" height="200"/>
</p>

The \[C\]orrelated \[RA\]ndom \[W\]alk \[L\]ibrary of R functions was
designed for fitting continuous-time correlated random walk (CTCRW)
models with time indexed covariates. The model is fit using the
Expand Down
Binary file added hex_sticker/crawl.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 added hex_sticker/crocodile_1f40a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions hex_sticker/hex_sticker.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
library(hexSticker)
library(magick)
library(sysfonts)
library(tidyverse)
library(here)

setwd(here("hex_sticker"))

ally <- image_read("mean_gator.png")

# font_add_google("Fira Code", "firacode")
font_add_google("Knewave", "knewave")

sticker(
subplot=ally,
package="crawl",
p_y = 1.4,
p_size = 32,
p_color = "khaki2",
p_family = "knewave",
s_x=1,
s_y=1,
s_width=1.4,
s_height=1.4,
h_fill="skyblue2",
h_color="darkslategray4",
dpi=300
)
Binary file added hex_sticker/mean_gator.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 added hex_sticker/noaa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb89f36

Please sign in to comment.