Re: [R] help with reshaping wide to long format

2012-12-31 Thread usha2013
beseNormal) > # > #Deviance Residuals: > # Min 1Q Median 3Q Max > #-0.8630 -0.5452 -0.5452 -0.4965 2.0759 > > #Coefficients: > # Estimate Std. Error z value Pr(>|z|) > #(Intercept) -1.830990.05768 -31.745 <2e-16 *** >

Re: [R] help with reshaping wide to long format

2012-12-31 Thread arun
I can't say whether nlme or lme4 is better in this case.  You could fit the model with several other variables and select the best model based on different criteria. Happy New Year! A.K.   From: Usha Gurunathan To: arun Sent: Sunday, December 30, 2012

Re: [R] help with reshaping wide to long format

2012-12-30 Thread arun
es:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 For your question, I guess you need to add interaction term also in the model.  I am not sure whether you need random effects in the model.  If that is the case, you need ?lmer() from library(lme4). You could also post the question in R

Re: [R] help with reshaping wide to long format

2012-12-28 Thread arun
tp://www.r-project.org/posting-guide.html) and "An introduction to R" (the link will be in the posting guide). A.K. - Original Message - From: usha2013 To: r-help@r-project.org Cc: Sent: Friday, December 28, 2012 2:02 AM Subject: Re: [R] help with reshaping wide to long format