Skip to content

Instantly share code, notes, and snippets.

View ZellW's full-sized avatar
💭
Constantly reviewing new packages while studying new neural network frameworks.

Cliff Weaver ZellW

💭
Constantly reviewing new packages while studying new neural network frameworks.
View GitHub Profile
@leeolney3
leeolney3 / 02_pictogram.R
Last active April 3, 2022 23:06
#30DayChartChallenge
# 30DayChartChallenge 02 pictogram
# Estimated % of threatened species in 2021 (Mammals, Birds, Amphibians, Gymnosperms)
# Data source: iucnredlist.org (https://nc.iucnredlist.org/redlist/content/attachment_files/2021-3_RL_Stats_Table_1a_v2.pdf)
library(tidyverse)
library(reactablefmtr)
table1 = tribble(
~"Birds",~Mammals,~Amphibians,~Gymnosperms,
13, 26, 41, 41
@johnmackintosh
johnmackintosh / HeatmapHrByDay.R
Last active February 21, 2024 10:19
How I made the hourly~daily~monthly~yearly heatmap : https://www.r-graph-gallery.com/283-the-hourly-heatmap.html
# https://www.r-graph-gallery.com/283-the-hourly-heatmap.html
library(ggplot2)
library(dplyr) # easier data wrangling
library(viridis) # colour blind friendly palette, works in B&W also
library(Interpol.T) # will generate a large dataset on initial load
library(lubridate) # for easy date manipulation
library(ggExtra) # because remembering ggplot theme options is beyond me
library(tidyr)