[R] frequency table-visualization for complex categorical variables

Niklas Fischer
Mon, 25 Feb 2013 18:04:22 -0000

Dear R users,

I have three questions measuring close relationships.
The questions are same and the respondents put the answer in order.

I'd like to examine the pattern of answers and visualize it.

For example q1 (A,B,C,D,E) and q2 and q3 are the same. If the respondents
selects A B C (so BCA or BAC or CBA or CAB), I'd like to construct
frequency table for ABC and other combinations for example DEF.


Unfortunately, there are many answers, and three-way contingency table
includes lots of cells which make it diffucult to interpret and requires
lots of extra work to organize data.

What is the best way to construct fruequency table of these kind of
variables and to visulize the results with the most simple form


All the bests,
Niklas

	[[alternative HTML version deleted]]