[R] GLM
    Dani Valverde 
    daniel.valverde at uab.cat
       
    Tue Feb 26 18:10:53 CET 2008
    
    
  
Hello,
I am trying to perform a glm analysis on a 68x13113 matrix (named 
data.spect). The first column corresponds to the predictor 
(data.spect[,1]) and the rest to the response variables 
(data.spect[,2:13113]). When I try this code
glmObject <- glm(data.spect[,2:13113]~data.spect[,1])
I get the following error:
Error: (subscript) logical subscript too long
Could anyone help me on solving this problem?
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