The function Sweave allows an R user to create LATEX code within R. Most studies discussing Sweave cover how to use Sweave for updating LATEX code within R for a single example. There is a R package called exams which allows teachers to create unique exams for students. There has been little research however, on how to leverage the function Sweave and other basic commands in R in order to easily offer students a virtually unlimited supply of statistical example problems to study from within a single PDF file. This study covers how to create a multitude of examples for each problem type covered in a statistical class.
Arthur L. Dryver. Using Sweave and Random Number Generation to Create a Multitude of
Statistical Examples for the Enhancement of Teaching Materials.
DOI: https://doi.org/10.36478/ijscomp.2017.318.321
URL: https://www.makhillpublications.co/view-article/1816-9503/ijscomp.2017.318.321