-
iTerm2
-
Command Line Tools
xcode-select –install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ajout des informations pour l'animation | |
# --------------------------------------- | |
library(gganimate) | |
library(broom) | |
dc <- bind_rows(dc_jour,dc_insee_jour,deces_ecdc,deces_insee_provisoires) | |
# on démarre du fichier dc utilisé pour le graphique surmortalité |
library(tidyverse)
# load in source_rmd()
devtools::source_gist("https://gist.github.com/noamross/a549ee50e8a4fd68b8b1")
#> Sourcing https://gist.githubusercontent.com/noamross/a549ee50e8a4fd68b8b1/raw/40960d8280438b7e2e8d6502f3c1d4ad348caeb6/source_rmd.R
#> SHA-1 hash of file is 624ae941e51dee522994e014928448170cedf1a3
# Also could have used solution here:
# https://stackoverflow.com/questions/10966109/how-to-source-r-markdown-file-like-sourcemyfile-r
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(LaCroixColoR) | |
library(sf) | |
library(fasterize) | |
library(rayshader) | |
library(raster) | |
library(exactextractr) | |
library(rayrender) | |
# load raster into R | |
elevation <- raster("Olympus_Mons_ortho-image.tif") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## setup from https://www.tjmahr.com/morgan-stanley-cursed-covid-plot/ | |
library(tidyverse) | |
theme_set(theme_bw()) | |
library(lme4) | |
library(ggeffects) | |
library(colorspace) | |
library(directlabels) | |
# a helper function to download the data from github |
OlderNewer