Hello Mina, I tried to reproduce your error but couldn't so far because the line
fit.robustlmer<-rlmer(dbp ~ age+sex+bmi+time+(1|id),data=A) is taking too long on my laptop. I suggest first using traceback() to try to narrow down where the error occurs, and then contacting the package maintainer with a smaller reproducible example if possible. Sincerely, Matias ______________________________________________________________ Matias Salibian-Barrera - Professor Department of Statistics - The University of British Columbia [email protected] | +1 (604) 822-3410 On 2021-08-04 2:18 a.m., mina jahan wrote: > [*CAUTION:* Non-UBC Email] > > Hi, > > I want to use the rlmer function of package robustlmm on the real > longitudinal data, but I was exposed with this error: > Error in.local (x,y,...) : negative length vectors are not allowed. > > I sent R code (txt file) and data (csv file). > I apologize for any inconvenience that my request may cause. I look > forward to receiving your reply. > > Thanks a lot in advance for your response. > > > cheers > Mina > > _______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-sig-robust [[alternative HTML version deleted]] _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-robust
