[R-sig-ME] understanding error with "profile" method of lme4a

Darren Norris doon75 at hotmail.com
Fri Apr 1 19:47:20 CEST 2011


Can anyone suggest how to resolve the following error - 
I can't see anything in the presentations ( http://lme4.r-forge.r-project.org/slides/2011-03-16-Amsterdam/ ) to suggest what I am doing wrong:

data is available here:
http://cid-f0a9fa3480208398.office.live.com/self.aspx/lmeData/DarrensSpace.RData

library("lme4a")
pr1<-profile(fmer2f<-lmer(yall~yearSeason+sun+total_precip_trip+mean_temp_trip+surveyArea+obscat+hour_period+(1|yearMonth),REML=FALSE,data=df.p))

#Erro em x[ndat + (1L:deg) - deg] :
  #somente 0's podem ser usados junto com subscritos negativos
#Calls: profile ... interpSpline.formula -> interpSpline -> interpSpline.default

Tanslation: only 0's can be used together with negative subscripts.

Many thanks (session info below),
Darren

R version 2.12.2 (2011-02-25)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=pt_BR.UTF-8          LC_NUMERIC=C
 [3] LC_TIME=pt_BR.UTF-8           LC_COLLATE=pt_BR.UTF-8
 [5] LC_MONETARY=pt_BR.UTF-8       LC_MESSAGES=pt_BR.UTF-8
 [7] LC_PAPER=pt_BR.UTF-8          LC_NAME=pt_BR.UTF-8
 [9] LC_ADDRESS=pt_BR.UTF-8        LC_TELEPHONE=pt_BR.UTF-8
[11] LC_MEASUREMENT=pt_BR.UTF-8    LC_IDENTIFICATION=pt_BR.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] lme4a_0.999375-65  MatrixModels_0.2-1 minqa_1.1.15       Rcpp_0.9.2
[5] Matrix_0.999375-48 lattice_0.19-17    rkward_0.5.4

loaded via a namespace (and not attached):
[1] codetools_0.2-8  grid_2.12.2      lme4_0.999375-39 nlme_3.1-98
[5] splines_2.12.2   stats4_2.12.2    tools_2.12.2

 		 	   		  



More information about the R-sig-mixed-models mailing list