[R] my failing understanding ...

Kjetil Halvorsen kjetilbrinchmannhalvorsen at gmail.com
Fri Nov 27 22:23:18 CET 2009


The following I do not understand, but then I did'nt really use
S4 methods ...

> showMethods(plot)
Function: plot (package graphics)
x="ANY"
x="lmList.confint"
x="merMCMC"
    (inherited from: x="ANY")

> plot(x=moda0MCMC)
Error in as.double(y) :
  cannot coerce type 'S4' to vector of type 'double'
> class(moda0MCMC)
[1] "merMCMC"
attr(,"package")
[1] "lme4"


Kjetil




More information about the R-help mailing list