makeReport: Generate a report for one homework

Description Usage Arguments Value Author(s) References

Description

A tex file will be generated from the specified data files, answer key, and learning outcomes.

Usage

1
2
3
4
5
makeReport(keyFile = NULL, dataFile = NULL, loFile = NULL,
  outFile = NULL, reportType = NULL, keepFiles = FALSE, keepTex = FALSE,
  keepImage = FALSE, className = "Stat101", lowScore = 80,
  repeatLowScore = 20, topic = NULL, section = NULL, path = NULL,
  type = NULL, unit = 1, rewrite = FALSE, skip = NULL)

Arguments

keyFile

file name with path for the answer key

dataFile

the file name with path for the data

loFile

the file name with path for the learning outcomes

outFile

the directory to save the tex file

reportType

the type of report

keepFiles

keep files (.aux, .log, etc) used to generate .tex file, default value is FALSE

keepTex

keep .tex file, default value is FALSE

keepImage

keep individual image files used to generate .tex file, default value is FALSE

className

the name of the class, default value is "Stat101"

lowScore

the value that instructors designate as a minimally acceptable score (out of 100) for a given topic and section, when running the makeReport() routine with a reportType of "secTopicShort". Any student who scores below this value on their assignment will have their e-mail listed in a text file. Default value is 80

repeatLowScore

the proportion that instructors use to determine students who have performed poorly across multiple assignments. If a student has been ranked below this proportion (out of the other students) for at least half of the assignments, then their e-mail will be listed in a text file. This parameter can be defined when running the makeReport() routine with a reportType of "crossSecUnit". Default value is 20

topic

the topic number, could be integer or character

section

the section name, usually one of 'AB', 'CD', 'GHQ'

path

the directory to the data files

type

the strings before the topic number in the csv file name

unit

the unit of the class

rewrite

logical. If TRUE then the csv files are rewritten

skip

a vector of integers. Same as the parameter in cleanScore

Value

a tex file to be compiled

Author(s)

Xiaoyue Cheng <xycheng@iastate.edu>

References

Refer to package vignette Section 4


introstat/ePort documentation built on May 18, 2019, 5:47 a.m.