Skip to content
Prev 334582 / 398506 Next

Help using mapply to run multiple models

On Dec 17, 2013, at 5:53 PM, Simon Kiss wrote:

            
The default for mapply's SIMPLIFY argument is TRUE. If you do not want a matrix, then set it to FALSE and the list items will retain their glm-object status.

(The summary function applied to the resulting list is still a bit strange, but it is recognizable as having class 'glm' at the end. You should be able to extract the bits that you want and ignore the strange $call item.)