Re: [R] lme4 - Mixed Model question

2020-07-13 Thread Thierry Onkelinx via R-help
Dear Axel, A few quick remarks. 1) This question is more suitable for r-sig-mixed-models. 2) A mixed model needs much more than two groups. If you have only a few groups, consider a glm with group interactions. 3) Setting the value of a covariate to zero for a set of observations has the same eff

[R] lme4 - Mixed Model question

2020-07-13 Thread Axel Urbiz
Dear List, I’d appreciate any guidance on the following. I’m using a mixed effects logistic regression model, to allow coefficients to vary by a group variable. However, my case is not typical in the sense that I need to specify a different set of covariates for each level of the group varia

Re: [R] lme4 question

2017-07-18 Thread Bert Gunter
Better to post on the mixed models list, r-sig-mixed-models rather than here. And post in plain text,not html. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comi

Re: [R] lme4 question

2017-07-18 Thread David Winsemius
Not really the correct mailing list. Please read the Posting Guide and re-submit a plain text version to R-SIG-mixed-models https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models -- David. > On Jul 18, 2017, at 3:43 PM, Ahreum Maeng wrote: > > Hello, > > I am trying to run the following mo

[R] lme4 question

2017-07-18 Thread Ahreum Maeng
Hello, I am trying to run the following model: domi ~ type*ratio+((1|id)+(0+type|id)+(1|face_id)+(1|car_id)) My question is whether the data coding for "face_id" and "car_id" variables is correct. As you see on the following sample data structure, "type" is repeated measure where 1=car, 0=face.

Re: [R] lme4 package installation

2015-08-17 Thread S Ellison
> try tu put line > > setInternet2(TRUE) > > into your Rprofile.site file (located in etc directory of R installation) and > restart > R. You may well need to specify the utils library, as follows, to make sure the setInternet2 function is found at run time: utils::setInternet2() S Elliso

Re: [R] lme4 package installation

2015-08-16 Thread PIKAL Petr
, 2015 11:21 AM > To: Uwe Ligges > Cc: r-help@r-project.org; aurora.gonza...@openmailbox.org > Subject: Re: [R] lme4 package installation > > Thanks Uwe Ligges for the suggestion. > I tried using setInternet2() but also failed. > I tried for several other countries but also

Re: [R] lme4 package installation

2015-08-14 Thread Teck Kiang Tan
Thanks Uwe Ligges for the suggestion. I tried using setInternet2() but also failed. I tried for several other countries but also failed. Any other suggestion to overcome it. Thanks. Warning: unable to access index for repository http://cran.utstat.utoronto.ca/src/contrib Warning: unable to access

Re: [R] lme4 package installation

2015-08-13 Thread Uwe Ligges
On 13.08.2015 22:52, Teck Kiang Tan wrote: Hi all I have problem in installation lme4 and have tried over the past 2 days. It failed to install from the various countries. install.packages("lme4") Warning: unable to access index for repository http://cran.stat.nus.edu.sg/src/contrib This

Re: [R] lme4 package installation

2015-08-13 Thread Teck Kiang Tan
Hi all I have problem in installation lme4 and have tried over the past 2 days. It failed to install from the various countries. > install.packages("lme4") Warning: unable to access index for repository http://cran.stat.nus.edu.sg/src/contrib Warning: unable to access index for repository http://

Re: [R] lme4 package installation

2015-08-13 Thread Thierry Onkelinx
Have you trying installing it directly from CRAN? install.packages("lme4") Do you have all dependencies installed? install.packages() from CRAN will take care of that. You repos = NULL you have to install all dependencies manually. ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Re

[R] lme4 package installation

2015-08-13 Thread aurora . gonzalez
Hello I've downloaded the tar.gz file of the package "lme4" and when I use the coomand: install.packages("lme4_1.1-8.tar.gz", repos = NULL, type = "source") appears an error that suspends the installation: In file included from external.cpp:8:0: predModule.h:12:23: fatal error: RcppEigen.h:

Re: [R] lme4 2 factor factorial model with random factors

2014-12-19 Thread Ben Bolker
Jacob Warren (RIT Student rit.edu> writes: > > Using lme4 how does one define a 2 factor factorial model with both factors > being random? > > Specifically I am just trying to recreate the results from Montgomery's > Design of Experiments book (7th edition), example 13.2. In this example > ther

[R] lme4 2 factor factorial model with random factors

2014-12-17 Thread Jacob Warren (RIT Student)
Using lme4 how does one define a 2 factor factorial model with both factors being random? Specifically I am just trying to recreate the results from Montgomery's Design of Experiments book (7th edition), example 13.2. In this example there are 2 random factors and I want to include the interaction

Re: [R] Lme4 Package Help!

2014-11-09 Thread Søren Højsgaard
2014 03:48 |To: r-h...@stat.math.ethz.ch |Subject: Re: [R] Lme4 Package Help! | |Doran, Harold air.org> writes: | |> |> Daniel |> |> Lmer has never returned p-values from a model summary; this is a |> well-known and discussed issue. You must have post-processed the data |> in so

Re: [R] Lme4 Package Help!

2014-11-08 Thread Ben Bolker
Doran, Harold air.org> writes: > > Daniel > > Lmer has never returned p-values from a model summary; > this is a well-known and discussed issue. You must > have post-processed the data in some way to get the p-values. But it's worth noting that lmerTest does, and the way it works makes it p

Re: [R] Lme4 Package Help!

2014-11-07 Thread Doran, Harold
...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Daniel Mello Sent: Thursday, November 06, 2014 6:24 PM To: r-help@r-project.org Subject: [R] Lme4 Package Help! Hello, all! So, as stated in the title, the Lme4 package used to output p-values for the fixed effects. What

Re: [R] Lme4 Package Help!

2014-11-06 Thread Ben Bolker
Daniel Mello ucmerced.edu> writes: > > Hello, all! > > So, as stated in the title, the Lme4 package used > to output p-values for the > fixed effects. What happened?! > > Literally 2 weeks ago, I ran code, got output with no errors, and had > p-values listed for my fixed effects. > > Now, ru

[R] Lme4 Package Help!

2014-11-06 Thread Daniel Mello
Hello, all! So, as stated in the title, the Lme4 package used to output p-values for the fixed effects. What happened?! Literally 2 weeks ago, I ran code, got output with no errors, and had p-values listed for my fixed effects. Now, running THE SAME CODE with THE SAME DATASET (nothing at all ha

Re: [R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-28 Thread Craig O'Connell
should look for that may potentially cause some issues? > > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > Namens Craig O'Connell > Verzonden: maandag 28 april 2014 3:20 > Aan: r-help@r-project.org > Onde

Re: [R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-27 Thread ONKELINX, Thierry
body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Craig O'Connell Verzonden: maandag 28 april 2014 3:20 Aan: r-help@r-project.org Onderwerp: [R] lme4 Error Help: “maxstephalfit…pwrssUpdate” I am using

[R] lme4 Error Help: “maxstephalfit…pwrssUpdate”

2014-04-27 Thread Craig O'Connell
I am using a mixed model to assess the effects of various variables (i.e. treatment, density, visibility) on bee behavior (e.g., avoidance frequency - total avoidances per total visits; feeding frequency, and mating frequency). Bee individuals is my random factor (n=63 different bees), whereas

Re: [R] lme4: How to specify nested factors, meaning of : and %in%

2013-09-17 Thread Ben Bolker
Shouli Li utu.fi> writes: > > I have the same problem. I am wondering have you solved the problem already? > > [[alternative HTML version deleted]] > > It's completely unclear from this message what the context is, so it's unanswerable -- sorry. (Perhaps there was a link to the ori

Re: [R] lme4: How to specify nested factors, meaning of : and %in%

2013-09-17 Thread Shouli Li
I have the same problem. I am wondering have you solved the problem already? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-pro

Re: [R] Lme4 and syntax of random factors

2013-08-14 Thread ONKELINX, Thierry
erzonden: woensdag 14 augustus 2013 12:10 Aan: Ben Bolker; r-h...@stat.math.ethz.ch Onderwerp: Re: [R] Lme4 and syntax of random factors Thank you for your answer Ben B., it is helpful. The post on Fixed vs Random effects is particularly interesting. I had in mind to create a fixed interaction

Re: [R] Lme4 and syntax of random factors

2013-08-14 Thread Robert U
gards De : Ben Bolker À : r-h...@stat.math.ethz.ch Envoyé le : Mardi 13 août 2013 15h55 Objet : Re: [R] Lme4 and syntax of random factors Robert U yahoo.fr> writes: > > Dear > R-users, > [snip]   This question probably belongs on r-sig-mixed-mod...@r-project.o

Re: [R] Lme4 and syntax of random factors

2013-08-13 Thread Ben Bolker
Robert U yahoo.fr> writes: > > Dear > R-users, > [snip] This question probably belongs on r-sig-mixed-mod...@r-project.org . Followups there, please. > Let's say that I have 2 random effects, A (e.g. species, k=2) and B (e.g. individuals, n=100). I made some research about model syntax,

[R] Lme4 and syntax of random factors

2013-08-13 Thread Robert U
Dear R-users, I’ve been looking at the lmer function (lme4 package) in order to set up a mixed linear model and something about the syntax of the random effects eludes me. I’d like a hand with understanding a specific point, if someone does master this function… Let’s say that I have

Re: [R] (lme4) p-values for single terms in mixed models involved in sig interactions

2013-07-07 Thread Ben Bolker
sarah hoffmann outlook.com> writes: > I am using lme4 to fit a mixed effects model to my data. I have a > significant interaction between two variables. My question is what > is the correct way to get p-values for single terms involved in that > interaction. I have been using stepwise backwards

[R] (lme4) p-values for single terms in mixed models involved in sig interactions

2013-07-06 Thread sarah hoffmann
I am using lme4 to fit a mixed effects model to my data. I have a significant interaction between two variables. My question is what is the correct way to get p-values for single terms involved in that interaction. I have been using stepwise backwards deletion and model comparisons to get p-val

Re: [R] lme4 glmer general help wanted - code included

2012-12-06 Thread Ben Gillespie
Thanks Bert - I was unaware of that list. I have since posted my questions there (in plain text). > Date: Thu, 6 Dec 2012 12:50:05 -0800 > Subject: Re: [R] lme4 glmer general help wanted - code included > From: gunter.ber...@gene.com > To: nebs...

Re: [R] lme4 glmer general help wanted - code included

2012-12-06 Thread Bert Gunter
You are more likely to get a helpful (or any) response on mixed models issues by posting to the r-sig-mixed-models list, not here. -- Bert On Thu, Dec 6, 2012 at 11:12 AM, Ben Gillespie wrote: > Hi guys, > I'm very new to R and have been teaching myself over the past few months - > it's a great

[R] lme4 glmer general help wanted - code included

2012-12-06 Thread Ben Gillespie
Hi guys, I'm very new to R and have been teaching myself over the past few months - it's a great tool and I'm hoping to use it to analyse my PhD data.As I'm a bit of a newb, I'd really appreciate any feedback and/or guidance with regards to the following questions that relate to generalized line

Re: [R] lme4 / HLM question

2012-08-04 Thread Ben Bolker
Jeff jp.pair.com> writes: > I'm hoping that this is a relatively easy question for someone > familiar with the lme4 package. I'm accustomed to using HLM > software and writing a simple 2 level [null] equation like this: >L1 - Yij = b0 + e >L2 - b0 = B00 + u0 >The following comm

[R] lme4 / HLM question

2012-08-03 Thread Jeff
I'm hoping that this is a relatively easy question for someone familiar with the lme4 package. I'm accustomed to using HLM software and writing a simple 2 level [null] equation like this: L1 - Yij = b0 + e L2 - b0 = B00 + u0 The following command in R provides results that ar

Re: [R] lme4 t value for 3 levels of fixed factor

2012-07-27 Thread Henric (Nilsson) Winell
On 2012-07-27 05:50, Obermeier Andrew wrote: Hello, I just joined this list today, so am worried about proper protocol, but would like to post a question about lme4. The R-sig-mixed-models list (https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models) may be a better place for questions o

[R] lme4 t value for 3 levels of fixed factor

2012-07-26 Thread Obermeier Andrew
Hello, I just joined this list today, so am worried about proper protocol, but would like to post a question about lme4. In Baayen, Davidson, and Bates (2008), Mixed-effects modeling with crossed random effects for subjects and items, the authors describe steps for a Latin Square Design (p. 40

[R] LME4 to MCMCglmm

2012-05-03 Thread NightlordTW
Hi all, I am trying to run an lme4 model (logistic regression with mixed effects) in MCMCglmm but am unsure how to implement it properly. Currently, my lme4 model formula looks as follows: "outcome ~ (1 + var1 + var2 | study) + var1 + var2" In English, this means that I am fitting a random effec

[R] LME4 output

2012-03-10 Thread Zd Gibbs
I hope you all don't mind this question, but I need help interpreting output for a linear mixed effects model output I've been trying to learn to do in R. I am new to longitudinal data analysis and linear mixed effects regression. I have a model I fitted with weeks as the time predictor, and sco

Re: [R] lme4:glmer with nested data

2011-11-14 Thread Bert Gunter
1. Post this on the R-sig-mixed-models list, not here. 2. (The following "advice" should be treated cautiously): Forget it! With only 5 bats, you have too little information to estimate variance components. Treat the bats as fixed effects and fit via lm (or glm if some of your responses are not ga

[R] lme4:glmer with nested data

2011-11-14 Thread hijita
Dear all, I have the following dataset with results from an experiment with individual bats that performed two tasks related to prey capture under different conditions: X variables: indiv - 5 individual bats used in the experiment; all of which performed both tasks task - 2 tasks that each ind

Re: [R] lme4 + R 2.11.0 + mac unavailable

2011-10-29 Thread Uwe Ligges
On 29.10.2011 18:33, ADosmann wrote: I had a similar problem installing lme4 on my mac in R 2.12.1. The information on this thread helped me troubleshoot the problem, but I arrived at a different solution. When I tried to load lme4 from the source as advised by one author, it failed and I got

Re: [R] lme4 + R 2.11.0 + mac unavailable

2011-10-29 Thread ADosmann
I had a similar problem installing lme4 on my mac in R 2.12.1. The information on this thread helped me troubleshoot the problem, but I arrived at a different solution. When I tried to load lme4 from the source as advised by one author, it failed and I got an error message regarding the package '

[R] lme4 help pls!

2011-08-03 Thread xy
Hi, I have some difficulties to work with the function lmer from lme4. My responses are binary form and i want to use forward selection to my 12 covariates but i dont know how can I choose them based on deviance. Can someone pls give me a example so i can apply. For example my covariates are gesta

Re: [R] lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community

2011-04-16 Thread Nilaya Sharma
Hi Peter and R community; Thank you Peter for suggestion. I tried the following: genetic_evaluation<-transform(genetic_evaluation, sire=factor(sire),dam=factor(dam)) require(lme4); mod <- lmer(adg ~ 1 + (1|sire) + (1|dam:sire), data=genetic_evaluation) ranef (mod) provides random effects asso

Re: [R] lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community

2011-04-16 Thread peter dalgaard
On Apr 16, 2011, at 09:52 , Dieter Menne wrote: >> > > Thanks for providing a self-contained example. The error message is really a > bit confusing (anybody around who understands what lme thinks here?), It's not thinking at all, it's just evaluating a:b (so usual model formula interpretatio

Re: [R] lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community

2011-04-16 Thread Dieter Menne
Nilaya Sharma wrote: > > I was trying to fit a mixed model in animal experiment but stuck at simple > point. The following similar example is from SAS mixed model pp 212. > > > genetic_evaluation <- read.table(textConnection(" > sire dam adg > 1 1 2.24 > 1 1 1.85 > ... > 5 2 2.58 > 5 2

Re: [R] lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community

2011-04-16 Thread peter dalgaard
On Apr 16, 2011, at 04:21 , Nilaya Sharma wrote: > genetic_evaluation <- read.table(textConnection(" > sire dam adg > 1 1 2.24 > 1 1 1.85 > 1 2 2.05 > 1 2 2.41 > 4 2 1.86 > 4 2 1.79 > 5 1 2.82 > 5 1 2.64 > 5 2 2.58 > 5 2 2.56"), header = TRUE) > > # my R practice codes >

Re: [R] lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community

2011-04-15 Thread Nilaya Sharma
My question was how can we estimate effects and define correct model equivalent to SAS code provided. On Fri, Apr 15, 2011 at 10:21 PM, Nilaya Sharma wrote: > Hi R community, > > I am new bird to R and moved recently from SAS. I am no means expert on > either but very curious learner. So your hel

[R] lme4 problem: model defining and effect estimation ------ question from new bird to R community from SAS community

2011-04-15 Thread Nilaya Sharma
Hi R community, I am new bird to R and moved recently from SAS. I am no means expert on either but very curious learner. So your help crucial for me to learn R. I have already got positive expression. I was trying to fit a mixed model in animal experiment but stuck at simple point. The following

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-08-24 Thread Prof Brian Ripley
On Tue, 24 Aug 2010, Daniel Malter wrote: Hi, has there been a solution to this issue? I am encountering the same Yes, please look in the R-sig-mac archives (the place to ask Mac-specific questsions!). My notes say July 28, https://stat.ethz.ch/pipermail/r-sig-mac/2010-July/007601.html

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-08-24 Thread David Winsemius
On Aug 24, 2010, at 3:13 PM, Daniel Malter wrote: Hi, has there been a solution to this issue? I am encountering the same problem on a Mac with OSX 10.6.4. The problem persists when I try to install lme4 from the source (see below), and my R version is up to date according to R's update

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-08-24 Thread Daniel Malter
Hi, has there been a solution to this issue? I am encountering the same problem on a Mac with OSX 10.6.4. The problem persists when I try to install lme4 from the source (see below), and my R version is up to date according to R's update check. Thanks for any help, Daniel -- session

Re: [R] lme4 on Mac OS X

2010-07-22 Thread David Winsemius
On Jul 22, 2010, at 11:34 AM, Nicholas Griffin wrote: I have been trying to get the lme4 package installed on Mac OS X... with no success. The Mac OS binary is not available on any CRAN, and I also can’t install the package from old source. Has anyone found a solution to this problem? I

[R] lme4 on Mac OS X

2010-07-22 Thread Nicholas Griffin
I have been trying to get the lme4 package installed on Mac OS X... with no success. The Mac OS binary is not available on any CRAN, and I also can¹t install the package from old source. Has anyone found a solution to this problem? I am happy to use nlme for now, but I tend to prefer to do my mi

Re: [R] lme4

2010-07-06 Thread Douglas Bates
On OS X you need to install the source package for lme4 as the binary package fails one of the tests. We have been unable to reproduce this failure under other operating systems, which makes it hard to debug. On Tue, Jul 6, 2010 at 11:09 AM, Alex Foley wrote: > Hi, > > I was trying to install l

[R] lme4

2010-07-06 Thread Alex Foley
Hi, I was trying to install lme4 package, but got the following errors: > install.packages("lme4") Warning in install.packages("lme4") : argument 'lib' is missing: using '/Users/xx/Library/R/2.11/library' Warning message: In getDependencies(pkgs, dependencies, available, lib) : package ‘lme

[R] lme4 installation

2010-07-06 Thread Tim Smith
Hi, I was trying to install the package 'lme4'. Here is the code and the sessionInfo() that I am using: > install.packages("lme4",dependencies=T) Warning in install.packages("lme4", dependencies = T) : argument 'lib' is missing: using '/Users/ts/Library/R/2.11/library' Warning message: In ge

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-05-19 Thread Martin Maechler
Just a small correction to what I've said ... see below > "MM" == Martin Maechler > on Tue, 18 May 2010 10:00:20 +0200 writes: > David Winsemius > on Mon, 17 May 2010 17:44:00 -0400 writes: >> On May 17, 2010, at 5:01 PM, Adam November wrote: >>> I believe I'm

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-05-18 Thread Martin Maechler
> David Winsemius > on Mon, 17 May 2010 17:44:00 -0400 writes: > On May 17, 2010, at 5:01 PM, Adam November wrote: >> I believe I'm working with the newest version of R >> (2.11.0) and I've tried a few of the most recent >> versions... No luck yet. > Luck has not

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-05-17 Thread David Winsemius
On May 17, 2010, at 5:01 PM, Adam November wrote: I believe I'm working with the newest version of R (2.11.0) and I've tried a few of the most recent versions... No luck yet. Luck has nothing to do with it. What part of ERROR in the CRAN package check for the current version of lme4 with th

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-05-17 Thread Adam November
I believe I'm working with the newest version of R (2.11.0) and I've tried a few of the most recent versions... No luck yet. Thanks, -Adam On Mon, May 17, 2010 at 1:51 PM, David Winsemius wrote: > > On May 17, 2010, at 4:44 PM, Adam November wrote: > >> Hi All, >> Just thought I'd bring attention

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-05-17 Thread David Winsemius
On May 17, 2010, at 4:44 PM, Adam November wrote: Hi All, Just thought I'd bring attention to the fact that lme4 is failing cran checks on the mac platform, and I can't seem to install it from source on 10.5 or 10.6, either ("ld: library not found for -lgfortran ") . Any help getting this worki

Re: [R] lme4 + R 2.11.0 + mac unavailable

2010-05-17 Thread Adam November
Hi All, Just thought I'd bring attention to the fact that lme4 is failing cran checks on the mac platform, and I can't seem to install it from source on 10.5 or 10.6, either ("ld: library not found for -lgfortran ") . Any help getting this working? Thanks! (sorry for the non-plain-text...) __

[R] lme4 + R 2.11.0 + mac unavailable

2010-05-17 Thread Adam November
Hi All, Just thought I'd bring attention to the fact that lme4 is failing cran checks on the mac platform, and I can't seem to install it from source on 10.5 or 10.6, either ("ld: library not found for -lgfortran ") . Any help getting this working? Thanks! [[alternative HTML version delete

Re: [R] lme4 package and gamma family

2010-02-02 Thread Ben Bolker
cristina gmail.com> writes: > > > Hello, > > I am trying to use the lmer function from the lme4 package I have installed > today (lme4_0.999375-32.zip; R-2.10.1). According to the information, I > should be able to use a generalized linear mixed model. > However when I try to fit a model wit

[R] lme4 package and gamma family

2010-02-01 Thread cristina
Hello, I am trying to use the lmer function from the lme4 package I have installed today (lme4_0.999375-32.zip; R-2.10.1). According to the information, I should be able to use a generalized linear mixed model. However when I try to fit a model with Gamma distribution of the errors, it gives me

Re: [R] lme4 and function 'cholmod_start' not provided by package 'Matrix' / Ubuntu

2010-01-10 Thread Esmail
On 10-Jan-10 12:40, Douglas Bates wrote: As Dieter points out, this is likely a mismatch between the versions of the lme4 and the Matrix packages, which are very closely linked together. It appears that the version of the lme4 package is too old for the version of the Matrix package, which is ha

Re: [R] lme4 and function 'cholmod_start' not provided by package 'Matrix' / Ubuntu

2010-01-10 Thread Esmail
On 10-Jan-10 12:12, Dieter Menne wrote: Esmail Bonakdarian-4 wrote: Using Ubuntu 9.04 and R 2.8.1. For a project I need to use the Zelig package, which in turn wants to use the lme4 package. When trying to use Zelig and it tries to its required packages I get the following error message.

Re: [R] lme4 and function 'cholmod_start' not provided by package 'Matrix' / Ubuntu

2010-01-10 Thread Douglas Bates
As Dieter points out, this is likely a mismatch between the versions of the lme4 and the Matrix packages, which are very closely linked together. It appears that the version of the lme4 package is too old for the version of the Matrix package, which is hard to catch in the dependencies (lme4 depen

Re: [R] lme4 and function 'cholmod_start' not provided by package 'Matrix' / Ubuntu

2010-01-10 Thread Dieter Menne
Esmail Bonakdarian-4 wrote: > > > Using Ubuntu 9.04 and R 2.8.1. > > For a project I need to use the Zelig package, which in turn wants to > use the lme4 package. When trying to use Zelig and it tries to its > required > packages I get the following error message. > > Error in dyn.load(file,

[R] lme4 and function 'cholmod_start' not provided by package 'Matrix' / Ubuntu

2010-01-10 Thread Esmail
Hello all, Using Ubuntu 9.04 and R 2.8.1. For a project I need to use the Zelig package, which in turn wants to use the lme4 package. When trying to use Zelig and it tries to its required packages I get the following error message. Error in dyn.load(file, DLLpath = DLLpath, ...) : function 'c

Re: [R] lme4 glmer how to extract the z values?

2009-11-11 Thread sj
Ben , Thanks! This worked after I updated my version of R (from 2.8.1 to 2.10) . Best, Spencer On Tue, Nov 10, 2009 at 7:04 PM, Ben Bolker wrote: > sj gmail.com> writes: > > > I am using glmer() from lmer(lme4) to run generalized linear mixed > models. I > > can't figure out how to extrac

Re: [R] lme4 glmer how to extract the z values?

2009-11-10 Thread Ben Bolker
sj gmail.com> writes: > I am using glmer() from lmer(lme4) to run generalized linear mixed models. I > can't figure out how to extract the z values for the fixed effects that are > reported using the summary function . Any help would be appreciated. library(lme4) example(glmer) coef(summary(gm1

[R] lme4 glmer how to extract the z values?

2009-11-10 Thread sj
Hello, I am using glmer() from lmer(lme4) to run generalized linear mixed models. I can't figure out how to extract the z values for the fixed effects that are reported using the summary function . Any help would be appreciated. Thanks, Spencer [[alternative HTML version deleted]]

Re: [R] lme4 and incomplete block design

2009-11-08 Thread Christian Lerch
Many thanks, Bill and Emmanuel! Christian Emmanuel Charpentier schrieb: Le dimanche 08 novembre 2009 à 00:05 +0100, Christian Lerch a écrit : Dear list members, I try to simulate an incomplete block design in which every participants receives 3 out of 4 possible treatment. The outcome in bina

Re: [R] lme4 and incomplete block design

2009-11-08 Thread Emmanuel Charpentier
Le dimanche 08 novembre 2009 à 00:05 +0100, Christian Lerch a écrit : > Dear list members, > > I try to simulate an incomplete block design in which every participants > receives 3 out of 4 possible treatment. The outcome in binary. > > Assigning a binary outcome to the BIB or PBIB dataset of th

[R] lme4 and incomplete block design

2009-11-07 Thread Christian Lerch
Dear list members, I try to simulate an incomplete block design in which every participants receives 3 out of 4 possible treatment. The outcome in binary. Assigning a binary outcome to the BIB or PBIB dataset of the package SASmixed gives the appropriate output. With the code below, fixed tre

Re: [R] lme4 and Variable level detection

2009-02-28 Thread Douglas Bates
On Sat, Feb 28, 2009 at 9:00 AM, Jeroen Ooms wrote: > I am making a little GUI for lme4, and I was wondering if there is a function > that automatically detects on which level every variable exists. > Furtheremore I got kind of confused about what a random effects model > actually calculates. Qu

[R] lme4 and Variable level detection

2009-02-28 Thread Jeroen Ooms
I am making a little GUI for lme4, and I was wondering if there is a function that automatically detects on which level every variable exists. Furtheremore I got kind of confused about what a random effects model actually calculates. I have some experience with commercial software packages for mu

Re: [R] lme4 error after Matrix update

2008-12-18 Thread Prof Brian Ripley
AFAICS you do not have a current Matrix: please ensure you get 0.999375-17 On Thu, 18 Dec 2008, Hans-Ruediger Pfister wrote: Dear all, after recently updating my R-packages I am unable to work with lme4, since it does not load. What I get is this: Error in inDL(x, as.logical(local), as.logi

Re: [R] lme4 error after Matrix update

2008-12-18 Thread ONKELINX, Thierry
-project.org Onderwerp: [R] lme4 error after Matrix update Dear all, after recently updating my R-packages I am unable to work with lme4, since it does not load. What I get is this: Error in inDL(x, as.logical(local), as.logical(now), ...) : function 'cholmod_l_start' not provided

[R] lme4 error after Matrix update

2008-12-18 Thread Hans-Ruediger Pfister
Dear all, after recently updating my R-packages I am unable to work with lme4, since it does not load. What I get is this: Error in inDL(x, as.logical(local), as.logical(now), ...) : function 'cholmod_l_start' not provided by package 'Matrix' In addition: Warning messages: 1: package 'lme4'

Re: [R] lme4, error in mer_finalize(ans)

2008-12-05 Thread Douglas Bates
On Fri, Dec 5, 2008 at 3:44 PM, B. Meijering <[EMAIL PROTECTED]> wrote: > Using lmer() on my data results in an error. The problem, I think, is my > model specification. However, lm() works ok. > I recreated this error with a more simple dataset. (See code below.) > # word and letter recognition d

[R] lme4, error in mer_finalize(ans)

2008-12-05 Thread B. Meijering
Using lmer() on my data results in an error. The problem, I think, is my model specification. However, lm() works ok. I recreated this error with a more simple dataset. (See code below.) # word and letter recognition data # two within factors: # word length: 4, 5, 6 letters # letter position:

Re: [R] lme4 and false convergence

2008-11-25 Thread ONKELINX, Thierry
t ensure that a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Ben Zuckerberg Verzonden: maandag 24 november 2008 18:37 Aan: r-help@r-project.org Onderwerp: [R] lme4 and false convergenc

[R] lme4 and false convergence

2008-11-24 Thread Ben Zuckerberg
Dear R-users, I am using the most updated package of lme4 (lme4_0.999375-2). I have a data set consisting of ~900 observations at ~440 independent survey sites. There are an unbalanced number of surveys at each site. I am attempting to develop several models evaluating the presence/absence

[R] lme4/anova, error message: "Calculated PWRSS for a LMM is negative"

2008-10-30 Thread Sébastien Puechmaille
Dear all, I'm using the latest version of the package lme4 and R version 2.7.2 (2008-08-25). After I run the model, I get the results of the model (cf. below). Then, I run an ANOVA using the "anova" function and I get the following message "Error in anova(lmer1) : Calculated PWRSS for a LMM is n

Re: [R] lme4 question

2008-10-22 Thread Lawrence Hanser
Re Doug's comment: I apologize for being incomplete--I do know better. I did explicitly include a data statement in the models, but didn't write the model statements properly in my post. Here are the actual model statements: mod1 <- lmer(y ~ category + subcomp + (1 | id), data=prepchiefs08rm)

Re: [R] lme4 question

2008-10-22 Thread Douglas Bates
On Wed, Oct 22, 2008 at 4:18 PM, Lawrence Hanser <[EMAIL PROTECTED]> wrote: > Dear R Colleagues, > > I run the following two models: > > mod1 <- lmer(y ~ category + subcomp + (1 | id)) > mod2 <- lmer(y ~ category + subcomp + category*subcomp + (1 | id) > > where: > category has 4 possible values >

[R] lme4 question

2008-10-22 Thread Lawrence Hanser
Dear R Colleagues, I run the following two models: mod1 <- lmer(y ~ category + subcomp + (1 | id)) mod2 <- lmer(y ~ category + subcomp + category*subcomp + (1 | id) where: category has 4 possible values subcomp has 24 possible values id has approx 120 values (id is nested within category, and in

Re: [R] [lme4]Coef output with binomial lmer

2008-08-10 Thread Doran, Harold
TECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Difford > Sent: Saturday, August 09, 2008 8:32 AM > To: r-help@r-project.org > Subject: Re: [R] [lme4]Coef output with binomial lmer > > > Hi Tom, > > >> 1|ass%in%pop%in%fam > > This is "non-standard,&

Re: [R] [lme4]Coef output with binomial lmer

2008-08-09 Thread Mark Difford
Hi Tom, >> 1|ass%in%pop%in%fam This is "non-standard," but as you have found, it works. The correct translation is in fact 1|fam/pop/ass and not 1|ass/pop/fam as suggested by Harold Doran. Dropping %, ass%in%pop%in%fam reads [means] as: nest ass in pop [= pop/ass], and then nest this in fam ==

Re: [R] [lme4]Coef output with binomial lmer ~ nested random effects

2008-08-08 Thread Tom Cameron
Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Cameron > Sent: Friday, August 08, 2008 11:47 AM > To: r-help@r-project.org; [EMAIL PROTECTED] > Subject: [R] [lme4]Coef output with binomial lmer > > Dear R users > > I have built the follow

Re: [R] [lme4]Coef output with binomial lmer

2008-08-08 Thread Doran, Harold
[EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Cameron > Sent: Friday, August 08, 2008 11:47 AM > To: r-help@r-project.org; [EMAIL PROTECTED] > Subject: [R] [lme4]Coef output with binomial lmer > > Dear R users > > I have built the following model > >

[R] [lme4]Coef output with binomial lmer

2008-08-08 Thread Tom Cameron
Dear R users I have built the following model m1<-lmer(y~harn+foodn+(1|ass%in%pop%in%fam),family = "quasibinomial") where y<-cbind(alive,dead) where harn and foodn are categorical factors and the random effect is a nested term to represent experimental structure e.g. Day/Block/Replicate

Re: [R] lme4 package

2008-06-28 Thread Ben Bolker
Takatsugu Kobayashi indiana.edu> writes: > > Hi, > > Could someone explain what this message mean? I was playing with lme4 > pacakge but I could not run any models... > > Error in printMer(object) : > no slot of name "dims" for this object of class "table" > In addition: Warning message: > In

Re: [R] lme4 package

2008-06-28 Thread Takatsugu Kobayashi
Hi, Could someone explain what this message mean? I was playing with lme4 pacakge but I could not run any models... Error in printMer(object) : no slot of name "dims" for this object of class "table" In addition: Warning message: In printMer(object) : trying to get slot "dims" from an object (cl

Re: [R] lme4: How to specify nested factors, meaning of : and %in%

2008-04-04 Thread Claus Wilke
A quick correction to my earlier email: > The problem that I have with this analysis is that Treatment gets both a > fixed and a random effect [1]. So I would like to remove the fixed effect > from Treatment, but I'm not sure how to do this. Is the following correct? I meant: "I would like to remov

[R] lme4: How to specify nested factors, meaning of : and %in%

2008-04-04 Thread Claus Wilke
Hello list, I'm trying to figure out how exactly the specification of nested random effects works in the lmer function of lme4. To give a concrete example, consider the rat-liver dataset from the R book (rats.txt from: http://www.bio.ic.ac.uk/research/mjcraw/therbook/data/ ). Crawley suggests

  1   2   >