- Dr. Amira Elayouty and Dr. Mitchum Bock July 2020
Owing a debt of gratitude to Dr. Mine Çetinkaya-Rundel and the gang at RStudio
Online Statistics Teaching with R using `learnr interactive lessons - - PowerPoint PPT Presentation
Online Statistics Teaching with R using `learnr interactive lessons and tutorials Dr. Amira Elayouty and Dr. Mitchum Bock July 2020 Owing a debt of gratitude to Dr. Mine etinkaya-Rundel and
Owing a debt of gratitude to Dr. Mine Çetinkaya-Rundel and the gang at RStudio
Level 1 “Introductory Statistics”
encourage them to explore!)
Level M “Data Analysis Skills”
techniques from other courses with emphasis on application
efficiently and reproducibly
Students:
WE, as educators, want to…
“Not all R error and warning messages are useful; especially for beginners”
4 x 2hrs computing labs
10 x 2hrs computing labs
https://rstudio.github.io/learnr/
install.packages(“learnr”)
Narrative, figures, illustrations, and equations. Code exercises (R code chunks that users can edit and execute directly). Quiz questions. Videos (YouTube & Vimeo). Interactive Shiny components.
https://rstudio.github.io/learnr/
install.packages(“learnr”)
Narrative, figures, illustrations, and equations. Code exercises (R code chunks that users can edit and execute directly). Quiz questions. Videos (YouTube & Vimeo). Interactive Shiny components.
to render figures with captions for "Continue" buttons between subsections to allow skipping exercises
https://rstudio.github.io/learnr/
narrative code console narrative code console
Code exercise Multiple choice question
learnr exercises: grade_result(): checks the final result of exercise code grade_conditions(): checks code against a set of specified conditions grade_code(): checks code against a solution code
remotes::install_github(“rstudio-education/gradethis”)
https://rdrr.io/github/rstudio-education/gradethis
Tips:
local shiny server of the school/organisation (2018, 2019) - requires IT support shinyapps.io (2020) - Not free for large number of students
Note: To publish a tutorial with gradethis; you need to run devtools::install_github(“rstudio/packrat”) in your console first
more details see https://cran.r-project.org/web/packages/learnr/vignettes/shinyapps-publishing.html