Skip to content

Instantly share code, notes, and snippets.

View DagHjermann's full-sized avatar

Dag Hjermann DagHjermann

View GitHub Profile
@DagHjermann
DagHjermann / streamgraph_loess.R
Created June 20, 2022 11:24
Streamgraph using loess
# This code was used in a comment to issue #19 in the ggstream package:
# https://github.com/davidsjoberg/ggstream/issues/19#issuecomment-1068879824
#
# If in RStudio, turn on Outline (Ctrl + Shift + O on Windows)
#
# Overview:
# 1. FUNCTION DEFINITIONS
# - defines a function 'make_streamgraph' which is creating a steamgraph that worked ok for our purposes
@DagHjermann
DagHjermann / rspatialresources.md
Created June 16, 2021 06:36 — forked from sboysel/rspatialresources.md
R Spatial Analysis Notes

R Spatial Analysis Notes

Spatial Analysis in R

Key Packages

  • sp - defines the set of base classes for spatial data in R. Most useful for creating, converting, merging, transforming (e.g. projection), and plotting (see spplot) Spatial* objects.
  • rgdal - wrapper
@DagHjermann
DagHjermann / ggplot_resources.md
Created June 19, 2018 10:51 — forked from Pakillo/ggplot_resources.md
ggplot2: tutorials and complementary packages