R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree", W7-32 Dear all, I just upgraded R and downloaded a new version of "gmodels", to use estimable() for extracting fixed effects from lme()-objects. Now it seems like estimable() have changed its view of dimensions of my lme-objects and contrast matrix dimensions, as I get this error message:
> estimable(y_15,Mat15) Error in estimable.default(y_15, Mat15) : Dimension of structure(c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, : 25x26, not compatible with no of parameters in y_15: 25 Dimension of 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > Mat15 is made as a 25x25 contrast matrix, but the updated estimable() sees it as a 25x26. Why, and what should I do about it? I do think the change has occurred in estimable() as I tested one year old lme() objects and contrast matrix who worked perfectly then, giving the same error message when run with updated R. Does estimable() see the row-names as the first column nowdays if I don�t specify anything else? Best regards CG Pettersson Scientific Project Manager, PhD ______________________ Lantm�nnen Corporate R&D Phone: +46 10 556 19 85 Mobile: + 46 70 330 66 85 Email: cg.petters...@lantmannen.com<mailto:cg.petters...@lantmannen.com> Visiting Address: S:t G�ransgatan 160 A Address: Box 30192, SE-104 25 Stockholm Webb: http://www.lantmannen.com<http://www.lantmannen.com/> Registered Office: Stockholm Before printing, think about the environment [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.