Skip to content

Error message: attempt to set rownames on object with no dimensions

3 messages · Igor Blanco, Brian Ripley, David Winsemius

#
?lme (at least the one in package nlme) seems not to mention that the 
response in 'fixed' must be a numeric variable, but it must (and a 
factor is not numeric).

If you want to use a binary response, you need to use other methods, 
and it would be better to ask on R-sig-mixed-models making clear what 
your aims actually are.
On Wed, 21 Jul 2010, Igor Blanco wrote:

            
Perhaps you mean the nlme package?

  
    
#
On Jul 21, 2010, at 9:39 AM, Igor Blanco wrote:

            
Why do you use as.factor? It's probably already a factor. What does  
str(Dataset) show?
You do not need to do this, and it creates potential for confusion.  
The data= argument will allow the column names to be accessed by the  
lme() function.