R/Matching.R

Defines functions GIFTM

Documented in GIFTM

GIFTM<-function(qtxt, group1, group2)
{
	if(length(group1)!=length(group2))
		stop("Different number of words to match.")


	cat(qtxt, "{\n", sep="")

	for(i in 1:length(group1))
	{
		cat("=",group1[i], " -> ", group2[i], sep="")
	}

	cat("}\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.