> model = rpy.r.glm(formula, data = d, family = 'binomial', control =
> rpy.r.glm.control(maxit = 500))
>
> Traceback (most recent call last):
> File "", line 1, in
> AttributeError: 'Robj' object has no attribute 'control'
It doesn't like the dot in the function name. Use:
model = rpy.r.glm(
Dear all,
I spent some time with trial and error and googling my Error and I didn't find
anything, so I was hoping you could help me.
I'm fitting a linear model and want to change the default value of the
attribute 'control'. If omitting it, about 50% of my models stop with an
"algorithm di