R/MissingWord.R

Defines functions GIFTMW

Documented in GIFTMW

GIFTMW<-function(qtxt1, qtxt2, anstxt, rightans)
{
	cat(qtxt1, "{\n", sep="")

	for(i in 1:length(anstxt))
	{

		if(i==rightans)
			cat("=", anstxt[i], "\n", sep="")
		else
			cat("~", anstxt[i], "\n", sep="")

	}
	cat("}\n",qtxt2, "\n\n")
}

Try the RGIFT package in your browser

Any scripts or data that you put into this service are public.

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