Displaying 20 results from an estimated 10000 matches similar to: "Installing lme4 package in Windows Vista"
2009 Jul 30
1
lmer() and "$ operator is invalid for atomic vectors"
Hi all,
I am a bit mystified by this error message that I get when I try to apply
lmer() to a simple dataset with one between factor (age) and one within
factor (item): "$ operator is invalid for atomic vectors"
I'll just provide the code, because I don't see where the problem is:
library(lme4)
options(contrasts=c("contr.helmert","contr.poly"))
data =
2012 Aug 08
3
Can not find lme
Dear all,
Can anyone help me, my R software can not run a nested linear regression by using the lme funcion. The message that appears isĀ
Error: could not find function "lme"
I already downloaded and loaded the package, please see below. Thank you in advance for any help! Nadia.
> data<-read.csv("/Users/nadiasan1/Desktop/MOE and MOR.csv")> attach(data)>
2009 Jul 02
1
Backward logistic regression
Hi,
I have performed a binary logistic regression using the glm ( family =
binomial("logit") )command on 6 IV's and one DV. I would like to now repeat
the regression in backward fashion. What is the easiest way to do so in R?
Thanks in advance!
Best,
Angela
[[alternative HTML version deleted]]
2010 Jul 14
2
ver 2.11.1 from xterm on Mac without lme4
Hi,
I just installed version 2.11.1 on my Mac OS X 10.5.2. When I try
running R from my xterm, I get the following error:
Error in loadNamespace(name) : there is no package called 'lme4'
Fatal error: unable to restore saved data in .RData
I am returned to the terminal prompt and can not run R. I can open this
version of R from the R console and tried installing the lme4 source
2010 Feb 02
1
lme4 package and gamma family
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 the following error
model1<-lmer(Cmic~1+(1|FOREST/DEPTH),data=DATOS,family=Gamma)
Error en
2005 Jan 28
3
Conflicts using Rcmdr, nlme and lme4
Hello all!
R2.0.1, W2k. All packages updated.
I?m heavily dependant on using mixed models. Up til?now I have used
lme() from nlme as I have been told to. Together with estimable() from
gmodels it works smooth. I also often run Rcmdr, mostly for quick
graphics.
After using Rcmdr, on reopening the R workspace all help libraries for
Rcmdr (22 !) loads, among them nlme, but not Rcmdr itself. Why?
2005 Jan 03
1
different DF in package nlme and lme4
Hi all
I tried to reproduce an example with lme and used the Orthodont
dataset.
library(nlme)
fm2a.1 <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1 | Subject)
anova(fm2a.1)
> numDF denDF F-value p-value
> (Intercept) 1 80 4123.156 <.0001
> age 1 80 114.838 <.0001
> Sex 1 25 9.292 0.0054
or alternatively
2008 Nov 24
1
lme4 and false convergence
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 of
a species (PRES) at these random sites (SITE) using a number of
predictor variables. The
2012 Jun 06
3
Sobel's test for mediation and lme4/nlme
Hello,
Any advice or pointers for implementing Sobel's test for mediation in
2-level model setting? For fitting the hierarchical models, I am using
"lme4" but could also revert to "nlme" since it is a relatively simple
varying intercept model and they yield identical estimates. I apologize for
this is an R question with an embedded statistical question.
I noticed that a
2005 Dec 21
2
Why lmer() is not working, altough lme4 is installed?
I have installed lme4 library, but when I try something with lmer()
function, I receive error message. On the other hand, I can use lme()
function from the same library. Are those two the very same function or
not? I am a bit confused.
I am using:
$platform: "i386-pc-linux-gnu"
$arch: "i386"
$os: "linux-gnu"
$system: "i386, linux-gnu"
$major: "2"
2006 Aug 02
2
lme4 and lmeSplines
I'm trying to use the lmeSplines package together with lme4.
Below is (1) an example of lmeSplines together with nlme (2) an
attempt to use lmeSplines with lme4 (3) then a comparison of the
random effects from the two different methods.
(1)
require(lmeSplines)
data(smSplineEx1)
dat <- smSplineEx1
dat.lo <- loess(y~time, data=dat)
plot(dat.lo)
dat$all <- rep(1,nrow(dat))
times20
2004 Aug 27
2
degrees of freedom (lme4 and nlme)
Hi, I'm having some problems regarding the packages
lme4 and nlme, more specifically in the denominator
degrees of freedom. I used data Orthodont for the two
packages. The commands used are below.
require(nlme)
data(Orthodont)
fm1<-lme(distance~age+ Sex,
data=Orthodont,random=~1|Subject, method="REML")
anova(fm1)
numDF DenDF F-value p-value
(Intercept) 1
2005 Jan 11
1
lme4 print and summary errror
Hi all - (this is posted to r-help and R-SIG-MAC)
OSX 10.3.7, R 2.0.1, lme4/Matrix/latticeExtra latest, fresh install of
R. MASS loaded (or not).
I am getting an error message for the print() and summary() commands
with all lme models I try and run in lme4 (GLMM's work fine). Using
the example from the lme help, summary and print produce the following
errors, despite the model being
2012 Aug 29
1
lme4 installation
Being rather inept at all things Linux, I paid a consultant
to fix some things on my computer,? Unforntately, good
help is hard to find.? Here's where I am:
?
...
Loading required package: Matrix
Loading required package: lattice
Error in dyn.load(file, DLLpath = DLLpath, ...) :
? function 'cholmod_l_start' not provided by package 'Matrix'
Error: package/namespace load failed
2005 Sep 13
2
Translating lme model call to lme4
I would appreciate help translating the following lme model to an lmer
function.
lme(lognrms ~ Group*Rotation*muscle*side*support*arms,
random=~1|Subject/Stratum2/rep, data=Data)
Many thanks
Ross Darnell
r.darnell at uq.edu.au
2004 Dec 14
1
correlation in lme4
Dear all,
I have tried to consider a correlation structure in lme (package lme4), but
without success.
I have used something like:
> risul<-lme(y~x+ z , data=mydata, random=~ x | g, correlation = corAR1())
but the result is the same as:
> risul<-lme(y~x+ z , data=mydata, random=~ x | g).
Can anybody help me?
Antonella
**************************************************
Prof.
2004 Jul 02
1
Problem in lme4
Dear List:
I was able to run the following in nlme successfully, but the same model
and code (same dataset) failed to run in lme4 and gave me the error
message below. Any thoughts?
lme(math~year, data=egsingle, random=~year|schoolid/childid)
Error in lme(formula = math ~ year, data = egsingle, random =
structure(list( :
Unable to invert singular factor of downdated X'X
2005 Feb 08
2
lme4 --> GLMM
hello!
this is a question, how can i specify the random part in the GLMM-call
(of the lme4 library) for compound matrices just in the the same way as
they defined in the lme-Call (of the nlme library). For example
i would just need
random=list(my.Subject=pdBlocked(list(pdIdent(~... , ...),pdIdent(~... ,
...))))
this specification , if i also attach library(nlme) , is not
2005 Feb 08
2
lme4 --> GLMM
hello!
this is a question, how can i specify the random part in the GLMM-call
(of the lme4 library) for compound matrices just in the the same way as
they defined in the lme-Call (of the nlme library). For example
i would just need
random=list(my.Subject=pdBlocked(list(pdIdent(~... , ...),pdIdent(~... ,
...))))
this specification , if i also attach library(nlme) , is not
2009 Feb 04
2
loading lme4 fails - "function 'cholmod_l_start' not provided by package 'Matrix'"
Hello UseRs,
I've just tried to load the lme4 package and got the error message, "function 'cholmod_l_start' not provided by package 'Matrix'". I downloaded the latest version of lme4 and its required packages (lattice and Matrix) as suggested in the archives and still got this message. The FAQ and archives suggested to check the R version requirements, but I'm