GIFTM: Matching Question in GIFT format

View source: R/Matching.R

GIFTMR Documentation

Matching Question in GIFT format

Description

This function prints a Matching Question in GIFT format.

Usage

GIFTM(qtxt, group1, group2)

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.

Value

No value is returned but some text in printed.

Examples

#Question 1
GIFTM("Match the following operations to their respective R commands:",
   c("mean", "variance", "standard deviation"), c("mean()", "var()", "sd()"))

RGIFT documentation built on Nov. 17, 2023, 3:01 p.m.