Displaying 20 results from an estimated 200 matches similar to: "post hoc test for lme using glht ?"
2011 Sep 02
2
how to return back to go on my cycle while read my files
hi ,when i read a lots of files
for (i in 1:totnum)
{
cop_x_data<-read.table(flnm[i],skip=2)
if(i==1) {cop_data=cop_x_data}
else {cop_data=rbind(cop_data,cop_x_data)}
}
some of the files are missing . so this loop can not go on .I wonder how can
I go on
the loop cycle while reading the files just like the command
read(unit,err=linenum) in fortran ?
thank you .
--
TANG Jie
[[alternative
2012 Dec 13
1
How do I make a loop to extract a column from multiple lists and then bind them together to make a new matrix?
Hi! I am new to looping and R in general; and I have sent waaaay to much
time on this one problem and am about a hair away from doing it manually
for the next two days.
So, there is a package that while calculating the statistic creates lists
(that look like matrices) in the background. Each item (there are 10
items) has one of these ‘matrix looking list’ that I need to extract data
from. The
2005 May 04
1
lmer error:flist must be a non-empty list
Hi,
I was wondering if anyone could give me advice regarding using the lmer
command in lme4 package to do logistic regression (mixed effects model).
I use the following command
lmer(ISH ~ArrayPathology2, random=~1|PatientID, data=HSDB4.noNA,
family="binomial")
where ISH is outcome(0 or 1), ArrayPathology2 is the variable of
interest(factor), PatientID is random effect(factor), and
2010 Jul 22
1
svydesign syntax
This message is for those familiar with the survey package. I need to fit a
weighted Cox model to accommodate the sampling weights as I have a
case-control study with controls sampled at random from a database in a
ratio 2:1 to cases (whom were all sampled). I want to make sure I am using
the right svydesign syntax to specify this sampling design. Can anyone
please check if the statement below is
2009 Sep 09
1
Package that does not work until I re write the exactly the same code
Hi the list,
I am writing a package in S4 and I do not manage to understand a bug.
The "R CMD check" and the "R CMD build" both work. Here is links to the
package (not on CRAN yet for the raison that I explain bellow):
http://christophe.genolini.free.fr/aTelecharger/kml_0.5.zip
http://christophe.genolini.free.fr/aTelecharger/kml_0.5.tar.gz
Then I install the package and I
2007 Jul 31
1
Error message when running lm() with na.action=NULL
Hi there,
I am trying to run a liner regression using lm with na.action = NULL, but I
am getting an error message. Any ideas as to why this may be happening?
Please see code and error message below:
> reg_test<-lm(yy~.,data=test,na.action=NULL)
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
NA/NaN/Inf in foreign function call (arg 4)
This message and
2008 Sep 17
3
selecting dataframe values that are not nulls
Hi,
I have a dataframe with 14319rows and 9 colums. for some rows there are null
values.I want a dataframe without these null values.I wanna select only
those that have values !=NA.
kindly let me know how to do that.
Ramya
--
View this message in context: http://www.nabble.com/selecting-dataframe-values-that-are-not-nulls-tp19537093p19537093.html
Sent from the R help mailing list archive at
2009 Oct 19
2
how to get rid of 2 for-loops and optimize runtime
Short: get rid of the loops I use and optimize runtime
Dear all,
I want to calculate for each row the amount of the month ago. I use a matrix with 2100 rows and 22 colums (which is still a very small matrix. nrows of other matrixes can easily be more then 100000)
Table before
Year month quarter yearmonth Service ... Amount
2009 9 Q3 092009 A ...
2007 Jul 05
4
Load Balancing , MSN and SSL
HI All ,
I am running a FC6 box with two internet links with load balance . Every
thing is working fine expect the MSN connection that failed and reconnect
every time and SSL connections . I would link to know if with the nona
howto I could fix that .
I have been tried with no success to redirect that connection only to one
link but its look like do not work . Here my configuration :
1999 Jan 24
0
Re: util-linux compromised
I just received the following letter:
Date: Sun, 24 Jan 1999 04:01:55 -0500 (EST)
From: John Stange <building@cs.umd.edu>
Subject: util-linux compromised?
I grabbed util-linux-2.9g yesterday from win.tue.nl, and discovered a
section of login.c that appears to send the host and uid of the user to a
hotmail address. I imagine this isn't a standard feature. :>
2005 Aug 15
2
randomForest Error passing string argument
I'm attempting to pass a string argument into the function
randomForest but I get an error:
state <- paste(list("fruit ~", "apples+oranges+blueberries",
"data=fruits.data, mtry=2, do.trace=100, na.action=na.omit,
keep.forest=TRUE"), sep= " ", collapse="")
model.rf <- randomForest(state)
Error in if (n==0) stop ("data(x) has 0
2006 Nov 07
2
Comparing models in multiple regression and hierarchical linear regression
I don?t know if this question properly belongs on this list, but I?ll ask it here because I?ve been using R to run linear regression models, and it is only in using R (after switching from using SPSS) that I have discovered the process of fitting a linear model. However, after reading Crowley (2002), Fox (2002), Verzani (2004), Dalgaard (2002) and of course searching the R-help archives I cannot
2010 May 30
1
How to use the function "glht" of multcomp package to test interaction?
It's been a few weeks I'm racking my brains on how to use the function glht
the package multcomp to test interactions. Unfortunately, the creator of the
package forgot to put a sample in pdf package how to do it. I have looked in
several places, but found nothing. If someone for the love of God can help
me I'll be extremely grateful. The model is glm.
--
View this message in context:
2007 Jun 04
0
Error: could not find function "glht" (multcomp)
Dear List,
Could you tell why I get the error message?
> library(multcomp)
> data("cholesterol")
> m = aov(response ~ trt, data = cholesterol)
> cht <- glht(m, linfct = mcp(trt = "Tukey"))
Error: could not find function "glht"
Thank you
G?bor
2012 Jun 14
0
glht multiple comparisons for glm with 2 factors
Hi All,
I have used glm to model my data, I have two factors and a covariate as
described in the example code below (mod.1).
I have been able to "force" glht to perform multiple comparisons by creating
a combined variable for the factors, accepting that there will be a loss of
statistical power as it seems to do what I want. I then use the cld
function to generate the letters of
2006 Oct 27
0
glht for aov with Error() term
Dear all,
glht (from the multcomp package) needs a term and a model component
in it's fitted model.
In fitted models from e.g. repeated measurements ANOVAs I do not find
neither model nor term.
Is it possible to build together a model and term component myself,
so that glht will work for repeated measurements ANOVAs? If so, how
would I do that?
Best regards,
Michael Zehetleitner
2012 Jan 12
0
glht (multicomparisons) with an interaction factor
Hi,
i was working with this model
> mq<-glm(rojos~edadysexo*zona*estacion,quasipoisson)
and i get this minimal adequate model
> anova(mq5,test="F")
Df Deviance Resid. Df Resid. Dev F Pr(>F)
NULL 518 64799
edadysexo 2 1556.5 516 63243 8.9434 0.0001524 ***
zona 4
2011 Sep 05
0
glht (multcomp): NA's for confidence intervals using univariate_calpha (fwd)
fixed @ R-forge. New version should appear on CRAN soon.
Thanks for the report!
Torsten
>
> ---------- Forwarded message ----------
> Date: Sat, 3 Sep 2011 23:56:35 +0200
> From: Ulrich Halekoh <Ulrich.Halekoh at agrsci.dk>
> To: "r-help at r-project.org" <r-help at r-project.org>
> Subject: [R] glht (multcomp): NA's for confidence intervals using
2010 Nov 17
1
lme weights glht
Dear R-user
I used lme to fit a linear mixed model inlcuding weights=varPower().
Additionally I wanted to use glht to calculate Tukey-Kramer multiple
comparision.
error:
> glht(modelF, linfct=mcp(Species="Tukey"))
Error in glht.matrix(model = list(modelStruct = list(reStruct =
list(SubPlot = -0.305856275920955, :
?ncol(linfct)? is not equal to ?length(coef(model))?
>
2007 Aug 28
0
Problem with lme using glht for multiple comparisons
Hi everyone,
I am new to R and have a question that relates to unplanned post-hoc comparisons using the multcomp package after a mixed effects model. I couldn't find the answer to it in the archive or in any manual.
I have a dataset in which several plants have been treated in a particular way and a continuous response variable has been measured depending on several leaves per plant. I am