ozancanozdemir / StatCompLab

Workshop Material For UoE Statistical Computing

Home Page:https://finnlindgren.github.io/StatCompLab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatCompLab

This package collects workshop materials for Statistical Computing (MATH10093) at the University of Edinburgh 2021/22.

The tutorial documents are browsable online at https://finnlindgren.github.io/StatCompLab/

Contact Finn Lindgren, finn.lindgren@ed.ac.uk for information.

The package version number system is YearOfStudy.StudyWeek.MinorUpdate

Installation

You can install (and later upgrade) the package from GitHub with:

# If devtools isn't installed, first run install.packages("remotes")
remotes::install_github("finnlindgren/StatCompLab")

If you want to view the vignette versions of the tutorials within RStudio, you need to add the build_vignettes argument:

remotes::install_github("finnlindgren/StatCompLab", build_vignettes = TRUE)

Usage

The most convenient way to access the tutorial documents is to run them in the Tutorial tab in the upper right part of RStudio. That allows you to see the tutorial text and code hints at the same as your code files, and while running code in the Console and viewing plots.

These alternative methods also allows viewing of the documents, but are less convenient; vignettes show up in the same space as the plots, and the run_tutorial blocks the Console window from being used to run code.

library(StatCompLab)
# To install the vignette versions, add build_vignettes=TRUE to the install_github() call above.
vignette(package = "StatCompLab") # List available vignettes
vignette("Tutorial01", "StatCompLab") # View a specific vignette
# The following method blocks the Console from running other code; better to use the Tutorials pane instead
library(learnr)
available_tutorials("StatCompLab") # List available tutorials
run_tutorial("Tutorial01", "StatCompLab") # Run a specific tutorial

About

Workshop Material For UoE Statistical Computing

https://finnlindgren.github.io/StatCompLab/

License:Creative Commons Attribution 4.0 International


Languages

Language:R 100.0%