title: how to get the best solution as a column from genetic algorithm (genalg)
body: <p>I am using genalg package for Genetic Algorithm. The gene is binary is nature and the result will specify </p>
  
  <p>The length of the gene is 269 and it is difficult to understand which is difficult to comprehend. Is there a way to extract the result from this and have it in a data frame?</p>
  
  <pre><code>cat(summary.rbga(GAmodel))
  
  GA Settings
  Type                  = binary chromosome
  Population size       = 100
  Number of Generations = 100
  Elitism               = TRUE
  Mutation Chance       = 0
  
  Search Domain
  Var 1 = [,]
  Var 0 = [,]
  
  GA Results
  Best Solution : 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 
  </code></pre>
  
  <p>I want to convert the Best Solution to a data frame, so that I can actually look up which are the items that I need to pick. </p>
  
  <pre><code>class(GAmodel) = "rbga"
  </code></pre>