title: Create a dataframe with a list of plots using map in R
body: <p>I'm trying to create a dataframe that has plots embedded in the data frame as a list, so that I can view two graphs for each model represented by a row. </p>
  
  <p>Here's a minimal example that shows my dilemma</p>
  
  <pre><code>foo &lt;- function(x) {
    list(
      plots = list(qplot(1), qplot(2)),
      bar = 'bar',
      x = x
    )
  }
  
  not_df &lt;- purrr::map(1:5, foo) # Create 5 items using foo above
  map(not_df, length) # 5 items, each of length 3. 
  
  # Doesn't work
  df &lt;- purrr::map_df(1:5, foo)
  as_data_frame(not_df)
  bind_rows(not_df)
  </code></pre>
  
  <p>Both map and bind_rows fail with <code>Error: incompatible sizes (2 != 1)</code></p>