Displaying 2 results from an estimated 2 matches for "testcar".
Did you mean:
testchar
2000 Jul 05
1
Scoping problem
Hola!
I have the following simple function:
> testcar
function(pow){
ob <- glm(Pound~CG+Age+Vage,data=car,weights=No,
subset=No>0,family=quasi(link=power(pow),var=mu^2))
deviance(ob)
}
But trying to run it gives:
> testcar(1/2)
Error in power(pow) : Object "pow" not found
I have tried to...
2000 Jul 24
1
scoping problems (PR#614)
I am resubmitting this to r-bugs, since Thomas Lumley indicates that it
might be an error:
On Wed, 5 Jul 2000, Thomas Lumley wrote:
> On Wed, 5 Jul 2000, halvorsen wrote:
>
> > Hola!
> >
> > I have the following simple function:
> >
> > > testcar
> > function(pow){
> > ob <- glm(Pound~CG+Age+Vage,data=car,weights=No,
> >
subset=No>0,family=quasi(link=power(pow),var=mu^2))
> >
> > deviance(ob)
> > }
> > But trying to run it gives:
> >
> > > testcar(1/2)
>...