title: Error in R (mice package), too many weights
body: <p>I get the following error while imputing missing cases with the mice function from the library "mice"</p>
  
  <pre><code> Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE,  :
  too many (1104) weights
  </code></pre>
  
  <p>The problem is generated by the function <code>mice.impute.polr</code> and <code>mice.impute.polyreg</code> because of the default maximum number of weights.
  I can not solved it by using the command <code>substitute</code> and neither by copying the functions' code and writing the new functions <code>mice.impute.polr</code> and <code>mice.impute.polyreg</code> (because of a function I cannot find call <code>augment</code>).
  I've told that I should go to the source code to modify it.</p>
  
  <p>How can I do it? Are there any other solution?</p>