[R] Problems with lme

Dani Valverde daniel.valverde at uab.cat
Sat May 24 11:00:54 CEST 2008


Hello,
I want to perform an lme on a database with this structure:
 ID Sequence Temperature Tumour                Error
 1        5           0                  1                     8.721872e-08
 1        5           0                  2                     8.695348e-08
 1        5           0                  3                     2.019604e-13
 1        5          37                  1                     2.746476e-01
 1        5          37                  2                     1.580415e-02
 1        5          37                  3                     1.586857e-01
 1        2           0                  1                     8.721872e-08
 1        2           0                  2                     8.695348e-08
 1        2           0                  3                     2.019604e-13
 1        2          37                  1                    2.746476e-01

I try to perform an lme with the lme() function of the lme package 
(first I attach the data frame with attach()). This is the code:
lme(Error ~ ID + Sequence + Temperature + Tumour)

If I use this code, I get the following error:

Error in getGroups.data.frame(dataMix, groups) :
  Invalid formula for groups

Can anyone help me?
Best,

Dani


-- 

Daniel Valverde Saubí

Grup de Biologia Molecular de Llevats
Facultat de Veterinària de la Universitat Autònoma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vallès- SPAIN

Centro de Investigación Biomédica en Red
en Bioingeniería, Biomateriales y
Nanomedicina (CIBER-BBN)

Grup d'Aplicacions Biomèdiques de la RMN
Facultat de Biociències
Universitat Autònoma de Barcelona
Edifici Cs, Campus UAB
08193 Cerdanyola del Vallès- SPAIN
+34 93 5814126



More information about the R-help mailing list