GIFTM | R Documentation |
This function prints a Matching Question in GIFT format.
GIFTM(qtxt, group1, group2)
qtxt |
Text of the question. |
group1 |
First group of words to match. |
group2 |
Second group of words to match. |
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.
No value is returned but some text in printed.
#Question 1
GIFTM("Match the following operations to their respective R commands:",
c("mean", "variance", "standard deviation"), c("mean()", "var()", "sd()"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.