#install.packages("hexSticker")
library(hexSticker)
#install.packages("ggplot2")
library(ggplot2)
#install.packages("emojifont")
library(emojifont)
r <- ggplot() + geom_fontawesome("fa-calculator", color='red', size = 20) + theme_void()
sticker(
r,
package = "plsRglm",
p_size = 8,
s_x = 0.95,
s_y = 0.7,
s_width = 1.7,
s_height = 1.3,
p_x = 1,
p_y = 1.3,
url = "https://cran.r-project.org/package=plsRglm",
u_color = "white",
u_size = 1.1,
h_fill = "black",
h_color = "grey",
filename = "man/figures/logo.png"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.