[R] No direct or inherited method for function "update"

About this list Date view Thread view Subject view Author view Attachment view

From: Dick Beyer (dbeyer@u.washington.edu)
Date: Wed 26 May 2004 - 09:44:56 EST


Message-id: <Pine.LNX.4.43.0405251644560.1441@hymn11.u.washington.edu>

I used to be able to call update() for lme objects. Now I get this error:

> ge.lme <- update(ge.lme, data=dat)
Error in update(ge.lme, data = dat) : No direct or inherited method for function "update" for this call

Here is the relevant portion of my code:

ge <- eset[1,]
dat <- data.frame(age, gen, fdr, ge)
ge.lme <- lme(fixed=ge~age+gen+age*gen, data=dat, random=~ 1| fdr)
for (i in 1:nrow(eset)) {
  dat$ge <- c(eset[i,])
  ge.lme <- update(ge.lme, data=dat)
  .
  .
  .
}

I am using:
base 1.9.0
utils 1.9.0
graphics 1.9.0
stats 1.9.0
methods 1.9.0
Biobase 1.4.14
affy 1.4.30
gcrma 1.1.0
annaffy 1.0.7
KEGG 1.4.0
GO 1.5.1
mgu74av2 1.4.0
nlme 3.1-48
xtable 1.2-1

Any help or suggestions would be most appreciated.

Thanks much,
Dick
*******************************************************************************
Richard P. Beyer, Ph.D. University of Washington
Tel.:(206) 616 7378 Env. & Occ. Health Sci. , Box 354695
Fax: (206) 685 4696 4225 Roosevelt Way NE, # 100
                        Seattle, WA 98105-6099
http://depts.washington.edu/ceeh/ServiceCores/FC5/FC5.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:12 EST