Weekly schedule (R)

If not otherwise indicated, you can run each command below in R by creating these objects …


packages <- 
  c("tidyverse", "Rtsne", "igraph", "tidytext", "sf", "topicmodels",
    "knitr")

package <- sample(packages, 1)
  
numbers <- sample(1:1000, 100)

other_numbers <- sample(1:1000, 100)

factors <- factor(sample(c("red","blue"), 100, replace = T))

other_factors <- factor(sample(c("green","yellow"), 100, replace = T))

dataframe <- data.frame(numbers, other_numbers, factors, other_factors)
  
matrix <- cbind(numbers, other_numbers)

adjmatrix <- matrix(rbinom(100, 1, prob = .5), ncol = 10)

edglist <- matrix(sample(1:10, 100, replace = T), ncol = 2)

and installing/loading these packages first …


install.packages(packages)

lapply(packages, require, character.only = TRUE)

Week 01

Week 02

Week 03

Week 04

Week 05

Week 06

Week 07

Week 08

Week 09

Week 10

Week 11

Week 12

Week 12 & 13 (advanced topics)