All Projects → R-CoderDotCom → ggdogs

R-CoderDotCom / ggdogs

Licence: GPL-3.0 license
The geom you always wished for adding dogs to ggplot2

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to ggdogs

Hrbrthemes
🔏 Opinionated, typographic-centric ggplot2 themes and theme components
Stars: ✭ 899 (+3110.71%)
Mutual labels:  ggplot2, ggplot-extension
Gganimate
A Grammar of Animated Graphics
Stars: ✭ 1,744 (+6128.57%)
Mutual labels:  ggplot2, ggplot-extension
Ggcats
The geom you always wished for adding cats to ggplot2
Stars: ✭ 34 (+21.43%)
Mutual labels:  ggplot2, ggplot-extension
Ggforce
Accelerating ggplot2
Stars: ✭ 640 (+2185.71%)
Mutual labels:  ggplot2, ggplot-extension
ggbg
Miscellaneous Ggplot2 Extensions
Stars: ✭ 21 (-25%)
Mutual labels:  ggplot2, ggplot-extension
Ggraph
Grammar of Graph Graphics
Stars: ✭ 815 (+2810.71%)
Mutual labels:  ggplot2, ggplot-extension
Ggbernie
A ggplot2 geom for adding Bernie Sanders to ggplot2
Stars: ✭ 96 (+242.86%)
Mutual labels:  ggplot2, ggplot-extension
Ggpol
🌍 Parliament diagrams and more for ggplot2
Stars: ✭ 71 (+153.57%)
Mutual labels:  ggplot2, ggplot-extension
Patchwork
The Composer of ggplots
Stars: ✭ 2,002 (+7050%)
Mutual labels:  ggplot2, ggplot-extension
Ggh4x
ggplot extension: options for tailored facets, multiple colourscales and miscellaneous
Stars: ✭ 148 (+428.57%)
Mutual labels:  ggplot2, ggplot-extension
Ggalt
🌎 Extra Coordinate Systems, Geoms, Statistical Transformations & Scales for 'ggplot2'
Stars: ✭ 561 (+1903.57%)
Mutual labels:  ggplot2, ggplot-extension
Calendr
Ready to print calendars with ggplot2
Stars: ✭ 161 (+475%)
Mutual labels:  ggplot2, ggplot-extension
Ggsignif
Easily add significance brackets to your ggplots
Stars: ✭ 322 (+1050%)
Mutual labels:  ggplot2, ggplot-extension
Ggdistribute
ggplot2 extension for plotting distributions
Stars: ✭ 16 (-42.86%)
Mutual labels:  ggplot2, ggplot-extension
Ggpointdensity
📈 📊 Introduces geom_pointdensity(): A Cross Between a Scatter Plot and a 2D Density Plot.
Stars: ✭ 286 (+921.43%)
Mutual labels:  ggplot2, ggplot-extension
Lemon
🍋 Lemon --- Freshing up your ggplots
Stars: ✭ 147 (+425%)
Mutual labels:  ggplot2, ggplot-extension
Econocharts
Microeconomics/macroeconomics charts in ggplot2
Stars: ✭ 161 (+475%)
Mutual labels:  ggplot2, ggplot-extension
Gghalves
✂️ Easy half-half geoms in ggplot2
Stars: ✭ 174 (+521.43%)
Mutual labels:  ggplot2, ggplot-extension
Manu
This package provides colour palettes derived from birds native to New Zealand
Stars: ✭ 70 (+150%)
Mutual labels:  ggplot2
cividis
Cividis color scale for R
Stars: ✭ 41 (+46.43%)
Mutual labels:  ggplot-extension

ggdogs

The geom you always wished for adding dogs to ggplot2. This package is part of the memeverse. The source code of this package is based on geom_image from ggimage.

What is the memeverse?

A collection of funny packages which can be interesting to create plots to show on a first lesson to new R students in order to motivate them learning the language. The other package of the (small) memeverse are ggcats and ggbernie. Statistics and programming can be fun!

Installation

# install.packages("remotes")
remotes::install_github("R-CoderDotCom/ggdogs@main")

Available dogs

There are 25 dogs available:

"doge" (default) "doge_strong" "chihuahua" "eyes" "gabe" "glasses" "tail" "surprised"
"thisisfine" "hearing" "pug" "ears" "husky" "husky_2" "chilaquil"  "santa", "bryan",
"vinny" "jake" "lucy" "puppie" "goofy" "snoopy" "scooby" "suspicious"

Some examples

grid <- expand.grid(1:5, 5:1)

df <- data.frame(x = grid[, 1],
                 y = grid[, 2],
                 image = c("doge", "doge_strong", "chihuahua", "eyes", "gabe", "glasses", "tail", "surprised",
                           "thisisfine", "hearing", "pug", "ears", "husky", "husky_2", "chilaquil", "santa", "bryan", "vinny", "jake",
                           "lucy", "puppie", "goofy", "snoopy", "scooby", "suspicious"))
                           
library(ggplot2)
library(ggdogs)
ggplot(df) +
 geom_dog(aes(x, y, dog = image), size = 3) +
 geom_label(aes(x, y - 0.25, label = image), size = 4) +
 xlim(c(0.25, 5.5)) + 
 ylim(c(0.25, 5.5))

ggplot(mtcars) +
  geom_dog(aes(mpg, wt), dog = "doge_strong", size = 5)

ggplot(mtcars) +
  geom_dog(aes(mpg, wt, size = cyl), dog = "husky")

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].