Weekly Summary Template

Author

Author Name


Tuesday, Jan 17

TIL

Include a very brief summary of what you learnt in this class here.

Today, I learnt the following concepts in class:

  1. Item 1
  2. Item 2
  3. Item 3

Provide more concrete details here. You can also use footenotes1 if you like

library(dplyr)
library(purrr)

For example: in class we learnt we learnt about the map function from the purrr package.

par(mfrow=c(3, 3), mar=c(3.5, 3.5, 2, 1), mgp=c(2.4, 0.8, 0))
map(1:9, function(i)rnorm(1000) %>% hist(., main=i, col=i))

Thursday, Jan 19

TIL

Include a very brief summary of what you learnt in this class here.

Today, I learnt the following concepts in class:

  1. Item 1
  2. Item 2
  3. Item 3

Provide more concrete details here, e.g.,

In class we learnt how to use the map function to create multiple regression diagnostic plots

par(mfcol=c(2, 3), mar=c(3.5, 3.5, 2, 1), mgp=c(2.4, 0.8, 0))
mtcars %>%
  split(.$cyl) %>%
  map(~ lm(mpg ~ wt, data = .x)) %>%
  map(function(x)plot(x, which=c(1, 2)))

Footnotes

  1. You can include some footnotes here↩︎