I am hoping to run a generalised linear mixed effect model but I don't seem to
have access to package lme4.
library (lme4)
Error in library(lme4) : there is no package called �lme4�
I'm unsure of how to go about installing this package and I haven't been able
to find much online either.
I a
R-help:
I am trying to decide between using a multiple linear regression or a linear
mixed effects model for my data:
model1 <- lm (responsevariable ~ predictor1 + predictor2 + predictor3 +
predictor4, data= data)
model2 <- lme (responsevariable ~ predictor1 + predictor2 + predictor3 +
pred
R-help:
I'm looking into the abundance of an algal species over site and years using a
two-way ANOVA:
> summary (aov (fserratus ~ site+year))
Df Sum Sq Mean Sq F value Pr(>F)
site 1 1487 1486.6 6.094 0.0155 *
year 1 1173 1172.8
l
is correct.
However, I am not sure whether adding this extra initial state is a valid
option?
Thanks in advance for anyone who can help me out,
Lucy Leigh
mstate: An R Package for the Analysis of Competing Risks
...<https://www.jstatsoft.org/article/view/v038i07>
www.jstatsoft.org
A
Awesome, thankyou!
From: Joshua Wiley [mailto:jwiley.ps...@gmail.com]
Sent: Wednesday, 3 September 2014 12:04 PM
To: Lucy Leigh
Cc: r-help@R-project.org
Subject: Re: [R] Simulating from a Weibull distribution
Hi Lucy,
Try the gamlss.dist package, specifically the rWEI2() function.
Cheers
oint me to that demonstrates how to
simulate data from any given distribution?
Cheers,
Lucy
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting gui
to get this function to work? Or if there is an
alternative package that can implement
a Weibull PH model?
Cheers,
Lucy
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
}
if (Y[i] > censorT){
Y[i] <- censorT
death[i] <- 0}
else
{Y[i] <- Y[i]
death[i] <- 1
}
}
Thankyou for the tip about the random seed.
Lucy
-Original Message-
From: Dennis Murphy [mailto:djmu...@gmail.com]
Sent: Monday, 24 March 2014 4:12 PM
To
second opinion?
Thanks in advance, this list has been immensely helpful with some previous
questions I have had about
the survival package.
Lucy
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mai
Excellent! Thank you for your help.
-Original Message-
From: Therneau, Terry M., Ph.D. [mailto:thern...@mayo.edu]
Sent: Monday, 17 March 2014 11:15 PM
To: Lucy Leigh; r-help@R-project.org
Cc: David Winsemius
Subject: Re: survfit question - Q1 and Q3 survival time?
Try help
median 0.95LCL 0.95UCL
10761.0 10761.0 10761.0 5289.015.515.515.5
I was wondering, is it possible to also output the quartiles Q1 and Q3 survival
times?
Regards,
Lucy
[[alternative HTML version deleted]]
__
R-help@r-project.
d
sleepfit <- survfit(Surv(starttime, endtime, death), data = sleep)
Can anyone tell me what I might be doing wrong?
Thanks,
Lucy
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/list
Hi all,
I'm trying to use the R growth curve analysis package Grofit. I've used it
successfully before but the protocol which previously worked for me is now
not giving me the expected output.
Entering my data and time info and running Test<-grofit(time,data,FALSE)
gives me the expected growth cu
ciate you taking the time to write it all out for
me.
Regards,
Lucy Leigh
>>> Prof Brian Ripley 12/07/2013 6:03 am >>>
On 11/07/2013 20:21, David Winsemius wrote:
>
> On Jul 11, 2013, at 1:37 AM, Rolf Turner wrote:
>
>> On 11/07/13 17:57, Prof Brian Ripley
Hi,
I have had a look at the manual but it makes no sense to me. I have
downloaded RTools, and the InnoSetup,
but I don't understand how to use these to install my package? Am I
meant to be writing commands
in R itself, or in these other things I've downloaded?
Lucy
>>> Erin H
Great thank you - are there any resources that step through how to use
RTools to compile the
source package and install it in R on (64-bit windows) ?
>>> Berend Hasselman 8/07/2013 6:38 pm >>>
On 08-07-2013, at 02:15, "Lucy Leigh"
wrote:
> Hi,
> I have a s
INSTALL -l
"C:\Program Files\R\R-3.0.1\library" "PReMiuM_3.0.21.tar.gz"' had status
1
2: In install.packages("PReMiuM_3.0.21.tar.gz", type = "source") :
installation of package ‘PReMiuM_3.0.21.tar.gz’ had non-zero exit
status
>
Thanks for any
Hi,
I'm trying to do an exploratory factor analysis for a uni assignment
but I keep getting this error message coming up
[1] "One of your variables is a constant. Constants are disallowed as
part of a scale."
when I turn the data into a matrix and look at the stats. I've been
told that
I understand that the NaN's mean that something can't be computed, I'm just
unsure as to what they refer to. Can anyone shed some light as to what the
beta and mix matrices are?
--
View this message in context:
http://r.789695.n4.nabble.com/poLCA-tp4458635p4461091.html
Sent from the R help mailin
NaNs produced
5: In sqrt(diag(VCE.mix)) : NaNs produced
What does this mean for the model?
Cheers,
Lucy
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide
Great lists, I always find them useful, thank you to
everyone who contributes to them.
My question is regarding non-integer values from some data I
collected on parrots when using the poisson GLM. I observed the parrots on a
daily basis to see if they were affected by tourist presence. My key pr
I am a new user, and i am trying to sort out a data frame.
I have for example bins of data. Within each bin i have multiple counts of
animals and the depths at which these count were taken. How would I summarise
this to being only the maximum count per bin alongisde the corresponding height
t research to inform my priors. I wondered if
anyone knew whether Bayesian PCA was better suited to smaller datasets than
traditional (ML) PCA? If not I wondered if anyone knew of packages in R that
could do dimension reduction on datasets with small sample sizes?
Many Thanks,
Lucy
This messa
Thanks for helpful replies. Unfortunately, I didn't mention that I
want to overwrite the existing data frame with the corrected one using
the same name. Here's what I have:
## get names of data frames
frames <- names(Filter(function(x) x=="data.frame",
sapply(objects(),function(
All,
I have a workspace containing only data frame objects. I would like to
loop though each one and clean-up text columns in them. How can I have
R loop through the list? I have tried to find an answer in R help but
the closest solution I can find is to make a static list of data
frames, as illus
ients or ideally the
p-value of the cofficient?
Many thanks
Lucy
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, mi
has same number of returned words
> strapply(Lines, ": *(\\w+)", backref = -1, simplify = rbind)
>
> This matches a colon (:) followed by zero or more spaces ( *)
> followed by a word ((\\w+)) and backref= - 1 causes it to return
> only the first backreference (i..e. the portion
Dear List,
I have an ascii text file with data I'd like to extract. Example:
Year Built: 1873 Gross Building Area: 578 sq ft
Total Rooms: 6 Living Area: 578 sq ft
There is a lot of data I'd like to ignore in each record, so I'm
hoping there is a way to use strings as delimiters to get the da
28 matches
Mail list logo