prep.exam | R Documentation |
Prepare Exam for Latex - use simple styles
prep.exam(OF, incfile, instructor="", examdate="",
course="", examname="", instructions="", ncol=2)
OF |
Character string output files |
incfile |
Character, include file name for questions |
instructor |
name of instructor |
examdate |
Date of the examination |
course |
Name of the course, character |
examname |
title of exam |
instructions |
character vector of instructions |
ncol |
number of columns on page, default=2 |
Side Effects
Jonathan M. Lees<jonathan.lees@unc.edu>
version.exam
## Not run:
###### since the program produces a file on the local
###### system, do not run this example
examdate="THURS Sep 20 2007"
seqnum="1"
exnumber="Exam 1"
V = "exam1A"
outtex = paste(sep=".",V, "tex" )
outMAST = paste(sep="", V, "MAST" )
MASTtex = paste(sep=".", outMAST , "tex" )
outsolut = paste(sep="", V, "solutions.tex" )
Me = "Jonathan M. Lees"
course="GEOL 105"
examname=paste(sep=" ", exnumber, "Seq", seqnum)
instructions=c("There are 50 questions.",
"Answer all questions.", "Mark clearly.")
\dontrun{
prep.exam(outMAST, outtex , instructor=Me, examdate=examdate,
course=course, examname=examname, instructions=instructions)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.