[R] question concerning VGAM

Martin Maechler maechler at stat.math.ethz.ch
Mon Jul 5 11:20:11 CEST 2010


>>>>> "" == Martin Spindler <Martin.Spindler at gmx.de>
>>>>>     on Mon, 5 Jul 2010 07:48:42 +0200 writes:

    > Hello everyone,
    > using the VGAM package and the following code

 

    > library(VGAM)

    > bp1 <- vglm(cbind(daten$anzahl_b, daten$deckung_b) ~ ., binom2.rho,
    > data=daten1)

    > summary(bp1)

    > coef(bp1, matrix=TRUE)

 

    > produced this error message:

 
    > error in object$coefficients : $ operator not defined for this S4 class

 

    > I am bit confused because some day ago this error message did not show up
    > and everything was fine.

    > Thank you very much in advance for your help.
 
    > Best,

 

    > Martin


    > [[alternative HTML version deleted]]

    > ______________________________________________
    > R-help at r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-help
--- PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
--- and provide commented, minimal, self-contained, reproducible code.

Hmm, and which part of the two lines above did you not
understand?

	example(vglm)

already contains uses of coef() which do work fine;
so it must be you, or your "setup" which breaks things.

Martin Maechler, ETH Zurich



More information about the R-help mailing list