[R] GLMER Syntax Question

2011-09-28 Thread Ubuntu Diego
I was wondering is someone can explain me the differences between these (random slopes and intercept) models model1 <- glmer(output~A+B+C+(A+B+C | F) ) model2 <- glmer(output~A+B+C+(A | F)+(B | F)+(C | F) Thanks. __ R-help@r-project.org mailing list

[R] library REEMtree => Error in estRE[toString(uniqueID[i]), 1] : incorrect number of dimensions

2011-08-24 Thread Ubuntu Diego
Hi List, I'm having this problem when trying to use the PREDICT function. Here is a way to reproduce the error library(REEMtree) data(simpleREEMdata) REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID/D) predict(REEMresult, simpleREEMdata, id = simpleREEMdata$ID/simpleREEMd

[R] is there a way/library for generating colorful noise in R ??

2011-04-29 Thread Ubuntu Diego
I would like to generate some noisy time series. I know that it is possible to "classify" noise by looking at the exponent (beta) of the relationship between the spectrum of the time series and the frequencies (i.e. spectrum ~ frequency ^ beta ). Is there a way to generate White (beta=0), Pink

[R] is this an ANOVA ?

2011-04-12 Thread Ubuntu Diego
Hi all, I have a very easy questions (I hope). I had measure a property of plants, growing in three different substrates (A, B and C). The rest of the conditions remained constant. There was very high variation on the results. I want to do address, whether there is any difference

Re: [R] LMER: How to specify Random Effects

2009-12-01 Thread Ubuntu Diego
er as different for each country (you do not have country1: State1, State2..., Country2:State1,State2..) so the nesting by country probably doesn't need to be specified. I think the above would, _in this case_ be almost identical to lmer(Reaction~Drug+Plant+(1|Country)+(1|State),...)

[R] LMER: How to specify Random Effects

2009-12-01 Thread Ubuntu Diego
I saw different specifications for Random Effects and I'm confused about the use of "/" and the use of "(0+...|)" . Let say we have a nested structure where some countries have some several plants in different states and we measure the reaction to a drug. The list of Countries = USA, France, I

[R] SNOW: Error in socketSelect(socklist) : not a socket connection

2009-04-01 Thread Ubuntu Diego
I'm trying to use snow in my dual-core (hopefully later this is going to run in a cluster). So, at this moment I create a cluster using SOCK connection (MPI in the future). However when I try to use clusterApplyLB I got "Error in socketSelect(socklist) : not a socket connection". Any ideas ? Do you

[R] Snow Parallel R: makeCluster with more nodes than available

2009-03-26 Thread Ubuntu Diego
Hi all, I would like to know what would happen if using snow I create a cluster of size 50, for example using makeCluster(50,type='SOCK') on a machine with 2 Cores and run a function. Does snow run 25 and 25 functions on each of my 2 "real" processors or it just run 50 functions in one proc

Re: [R] Memory issue?

2009-01-28 Thread Ubuntu Diego
I had similar issues with memory occupancy. You should explicitly call gc() to call the garbage collector (free memory routine) after you do rm() of the big objects. D. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help P