[R] update don't find an object

From: Ronaldo Reis Junior <chrysopa_at_gmail.com>
Date: Thu, 21 Feb 2008 07:36:15 -0300


Hi,

I have a situation here.

I try this update:

mmaa <- update(mma,biomass~qvartemp)

but I have this message:

Error in eval(expr, envir, enclos) : object "qvartemp" not found

but this object exist:

[1] "cont"      "i"         "levelsord" "mma"       "qvar"      "qvarmma"  
[7] "qvartemp"  "test"      "yvar"     

but if I use the glm directly it work:

mmaa <- glm(biomass~qvartemp)
Call:
glm(formula = biomass ~ qvartemp)

Deviance Residuals:

    Min 1Q Median 3Q Max -99.500 -57.521 6.125 40.688 221.750

Coefficients:

            Estimate Std. Error t value Pr(>|t|)    
(Intercept)   509.25      21.73  23.434   <2e-16 ***
qvartempn50    60.08      37.64   1.596   0.1225    
qvartempr5    101.25      37.64   2.690   0.0123 *  
qvartempr10   101.42      37.64   2.694   0.0122 * 
....

I need to use update because other informations like family, weigths, etc

Anybody have any idea about this problem in update?

Thanks
Ronaldo

-- 
If it were not for the presents, an elopement would be preferable.
		-- George Ade, "Forty Modern Fables"
--

> Prof. Ronaldo Reis Júnior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Biologia Computacional | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8187 | ronaldo.reis_at_unimontes.br | chrysopa_at_gmail.com | http://www.ppgcb.unimontes.br/ | ICQ#: 5692561 | LinuxUser#: 205366 ______________________________________________ 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.
Received on Thu 21 Feb 2008 - 10:43:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Feb 2008 - 15:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive