Skip to content
Prev 334652 / 398506 Next

Help using mapply to run multiple models

On Dec 19, 2013, at 11:10 AM, William Dunlap wrote:

            
Just so I can see if I understand ... that is because `as.name` will evaluate `modelType` whereas as.name("modelType") would look for the function `modelType` and not find such a name in the namespace? So modelType needs to be a language-object and `f` needs to be called with:

f(glm, ....) rather than f("glm", ...)
David Winsemius
Alameda, CA, USA