This function prints a Matching Question in GIFT format.
Usage
GIFTM(qtxt, group1, group2)
Value
No value is returned but some text in printed.
Arguments
qtxt
Text of the question.
group1
First group of words to match.
group2
Second group of words to match.
Details
These functions use the cat() function to print a Matching
Question
in the GIFT format. In this questions, the user is given two list
of words to be matched. Use of the sink() function is adviced to send the ouput to a text
file.
#Question 1GIFTM("Match the following operations to their respective R commands:",
c("mean", "variance", "standard deviation"), c("mean()", "var()", "sd()"))