knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of UBCstat406labs is to be a one-stop install for all the packages, tutorials, and custom code used in UBC's Stat 406 course.
You can install the current version from GitHub with:
# install.packages("devtools") devtools::install_github("dajmcdon/ubc-stat406-labs")
This is a basic example which shows you how to run a tutorial:
library(UBCstat406labs) learnr::run_tutorial("rsquared","UBCstat406labs")
Currently available tutorials are:
learnr::available_tutorials("UBCstat406labs")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.