title: Error in svd(ctr) : infinite or missing values in 'x'
body: <p>I'm trying to run svd on some data and I'm getting an error.  I saw <a href="https://stackoverflow.com/questions/21423375/r-svd-function-infinite-or-missing-values-in-x">another post</a> suggesting that this might happen when one or more of the columns are all 0, but this is not the case here.  Can someone please explain what is going on and how to fix this?  Note, that this is a subset of a much larger data-set.  Thank you.</p>
  
  <pre><code>year &lt;- c(2015, 2015, 2015, 2015, 2015, 2015)
  week &lt;- c(1, 1, 1, 1, 1, 1)
  flight_type_name &lt;- c("Commercial", "Filler", "Label", "Commercial", "Filler", "Filler")
  userdata_country &lt;- c("NO", "SG", "NI", "None", "CA", "GT")
  platform &lt;- c("iphone", "linux", "iphone", "linux", "web", "ipad")
  num_users &lt;- c("26726, 2, 161, 1, 4316, 577")
  impressions &lt;- c(135019, 0, 312, 0, 37014, 11492)
  clicks &lt;- c(407, 2, 2, 2, 59, 25)
  
  ctr &lt;- data.frame(year, week, flight_type_name, userdata_country, platform, num_users, impressions, clicks)
  
  svd(ctr)
  </code></pre>