Re: [R] [FORGED] Error from lme4: "Error: (p <- ncol(X)) == ncol(Y) is not TRUE"

2015-09-23 Thread Rory Wilson
In reply to Rolf Turner and Jean Adams who have been helping me: This does appear to be an issue with NA values in the non-factor variables. In the (non-reproducible) example below, we can see that removing the NAs solves the problem. However, from what I can see to this point, there does not see

Re: [R] [FORGED] Error from lme4: "Error: (p <- ncol(X)) == ncol(Y) is not TRUE"

2015-09-22 Thread Rory Wilson
becomes apparent.Thanks for your help!Rory From: Rolf Turner To: Rory Wilson ; "r-help@r-project.org" Sent: Tuesday, September 22, 2015 11:26 PM Subject: Re: [FORGED] [R] Error from lme4: "Error: (p <- ncol(X)) == ncol(Y) is not TRUE" On 23/09/15 01:18, Rory

[R] Error from lme4: "Error: (p <- ncol(X)) == ncol(Y) is not TRUE"

2015-09-22 Thread Rory Wilson
Hello all, I am trying to run a random intercept model using lme4. The random effect is a factor of 29 possibilities, making a model with one random effect (one level). It is just a linear model. There are 713 observations. However, when trying to run the model I receive the error "Error: (p <-

[R] append to all warnings

2015-05-05 Thread Rory Wilson
Hello all,This may be a "newbie" type question but I am rather stuck. I would like to alter my R options such that anytime a warning is generated, the standard warning message is generated, as well as additional details that I would specify (ie, time/date, etc.) It seems to me something like  my

[R] distances between entities

2013-05-18 Thread Rory Wilson
Hello all, please forgive my lack of knowledge, but I am somewhat new to R and would be very grateful for some help. I have tried some searches, but am not even quite sure what to search for.  I will describe my problem: I have a number of nodes (or entities)  and pairwise (Euclidean) distances f