RGIFT (version 0.1-5)

GIFT: Some functions to create questionnaires in the GIFT format.

Description

Functions to add comments, category and names to questions in GIFT format.

Usage

GIFTcomment(txt) GIFTcategory(catname) GIFTQName(qname)

Arguments

txt
Text for the comment.
catname
Category name.
qname
Question name.

Value

No value is returned but some text in printed.

Details

These functions use the cat() function to format the comment, category or question name in GIFT format and print them. Use of the sink() function is adviced to send the ouput to a text file.

See Also

http://docs.moodle.org/21/en/GIFT_format

Examples

Run this code

GIFTcomment("Some examples")
GIFTcategory("Example")
GIFTQName("Question Name")

Run the code above in your browser using DataLab