Hi there,

I am trying to analyze some data using the lme package.
My data contains continuous variables but there is one specific variable
called Newmarker that can only take 2 values (number 1 or number 2).
I am interested in using this as a "flag" when I apply a lme model
I have used the as.factor trying to remark this fact but an error message
appears stating: attempt to set rownames on object with no dimensions.

Here is the code I have used:

*Dataset <-   read.table("Data2.txt", header=TRUE, sep="", na.strings="NA",
dec=".", strip.white=TRUE)

Dataset$Newmarker <- as.factor(Dataset$Newmarker)

lme.1 <- lme(Newmarker ~ Age, data=Dataset,  random= ~1|ID)

summary(lme.1)*

If I don't use the as.factor I have no problems but the results don't
reflect the fact of my "binary" variable Newmarker..

Can anybody help me please?

Thanking you in advance,

Much appreciated,

Igor Blanco

	[[alternative HTML version deleted]]


