prep.exam {ProfessR} | R Documentation |
Prepare Exam for Latex - use simple styles
prep.exam(OF, incfile, instructor="", examdate="", course="", examname="", instructions="")
OF |
Character string output files |
incfile |
Character, include file name for questions |
instructor |
|
examdate |
Date of the examination |
course |
Name of the course, character |
examname |
title of exam |
instructions |
character vector of instructions |
Side Effects
Jonathan M. Lees<jonathan.lees@unc.edu>
version.exam
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 23 number of questions.", "Answer all questions.", "Mark clearly.") prep.exam(outMAST, outtex , instructor=Me, examdate=examdate, course=course, examname=examname, instructions=instructions)