Week 1

Day 1

Today

Assigned

Day 2 (lab)

Today

# CRAN packages
  install.packages(c("sf","ggplot2", "spsurvey", "remotes"))

# Github package install
  remotes::install_github("Pakillo/grateful")

# OR, download the zip file here and manually install:
# https://cran.r-project.org/web/packages/grateful/index.html

To install an R package from Github, you may need a Personal Acces Token (PAT)

# If you know your token, you can enter it like this
  devtools::install_github("username/repo", auth_token = "your_token_here")

# To Generate a PAT
  usethis::create_github_token()
  gitcreds::gitcreds_set() # Choose #2 and "Replace these credentials", eventually copy/paste token (long string) from the Github website
In Class Discussion Questions for Zitomer et al. 2022
  • Rule #2 - Can you describe differences in the type of learning we achieve from 1) manipulative experiments, 2) observational studies, and 3) descriptive/ natural history studies?

  • Rule #4 - Do you agree?

  • Rule #7 - What determines a p-value? What does it mean?

  • Rule #10 - How to do this?

  • What was a good takeaway from this paper? What was confusing or you disagreed with?

In Class Discussion Questions for Wolcott et al. 2019
  • What is the connection between general linear models and t-test/ANOVA?

  • What is a fixed and random effect?

  • Can you describe elements of a Bayesian or frequentist framework?

  • What is model selection?

  • What was a good takeaway from this? What was confusing or you disagreed with?

Assigned