ECICourse::upload_images_to_canvas() knitr::opts_chunk$set( echo = TRUE, message = TRUE, collapse = TRUE )
Perform the following steps to ensure you have the necessary R packages for this course installed.
Open RStudio
Ensure these packages are installed, and install them if not. Copy and paste the code below into the R console:
if (!require("tidyverse")) { install.packages("tidyverse") library("tidyverse") } if (!require("coin")) { install.packages("coin") library("coin") } if (!require("DeclareDesign")) { install.packages("DeclareDesign") library("DeclareDesign") } if (!require("dagitty")) { install.packages("dagitty") library("dagitty") } if (!require("Matching")) { install.packages("Matching") library("Matching") } if (!require("AER")) { install.packages("AER") library("AER") }
Install the ECICourse package. Copy and paste the code below into the R console:
if (!require("remotes")) { install.packages("remotes") } if (!require("ECICourse")) { remotes::install_github("jasonmtroos/ECICourse") library("ECICourse") }
Note that this package changes every year. If you are repeating this course and previously installed the course package, you must re-install it now.
I might need to update the ECICourse package during the course. If that happens, I will create an announcement asking you to re-install the package. To re-install the package, you will need to run the following code:
unloadNamespace('ECICourse') remotes::install_github("jasonmtroos/ECICourse")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.