title: Most elegant way to organize a List of Objects to a comprehensive Table?
body: <p>I'm somewhat a beginner in R and I did thought about some strategies how to tackle this (see below). I keep running into dead ends however.
  Probably someone of you knows a more elegant way.</p>
  <p>I'm presented with a fair bit of data that is basically structured like this (made up to illustrate the point):</p>
  <pre><code>Banana: Green, Yellow, Orange
  Apple: Green, Red
  Raspberry: Red, Yellow
  </code></pre>
  <p>I want this data to be presented in a matrix like this:</p>
  <pre><code>          Green Yellow Orange Red
  Banana    TRUE  TRUE   TRUE   FALSE
  Apple     TRUE  FALSE  FALSE  TRUE
  Raspberry FALSE TRUE   FALSE  TRUE
  </code></pre>
  <p>Basically an overview where the information is presented a bit easier to digest (true and false can be substituted by just an &quot;x&quot; and blank, graphically, etc).</p>
  <p>Now for what I tried: Put the data into a csv, imported into a dataframe in R. Extracted all unique values (colors) and all fruits, made a new data set out of it that resembles the table. But here I am stuck - I tried a lot of things but it just keeps getting more complicated. Maybe i'm missing out on a library that does the task?</p>