similar to: TukeyHSD plot error

Displaying 20 results from an estimated 500 matches similar to: "TukeyHSD plot error"

2006 Jan 15
1
Multiple comparison and two-way ANOVA design
Dear useRs, I'm working on multiple comparison design on two factor (2 3 levels) ANOVA. Each of the tests I have tried (Tukey, multcomp package) seem to do only with one factor at a time. fm1 <- aov(breaks ~ wool * tension, data = warpbreaks) tHSD <- TukeyHSD(fm1, "tension", ordered = FALSE) $tension diff lwr upr p adj M-L -10.000000 -19.35342
2005 May 15
3
adjusted p-values with TukeyHSD?
hi list, i have to ask you again, having tried and searched for several days... i want to do a TukeyHSD after an Anova, and want to get the adjusted p-values after the Tukey Correction. i found the p.adjust function, but it can only correct for "holm", "hochberg", bonferroni", but not "Tukey". Is it not possbile to get adjusted p-values after
2005 May 11
1
Tukey HSD
Hi all!
2003 Dec 08
0
TukeyHSD changes if I create interaction term
Dear R community, I'm trying to understand this behavior of TukeyHSD. My goal is to obtain defensible, labelled multiple comparisons of an interaction term. Firstly, if I plot the TukeyHSD from the model that calculates its own interactions, then the y-axis labels appear to be reflected on their median when compared to the text output of the TukeyHSD statement. The labels are integers.
2012 Oct 23
1
How Rcmdr or na.exclude blocks TukeyHSD
Dear R-Helpers, I was calling the TukeyHSD function and not getting confidence intervals or p-values. It turns out this was caused by missing data and the fact that I had previously turned on R Commander (Rcmdr). John Fox knew that Rcmdr sets na.action to na.exclude, which causes the problem. If you have this problem, you can either exit Rcmdr before calling TukeyHSD or you can set na.action to
2006 Aug 01
1
plot() with TukeyHSD
Hello, When plotting the results of a TukeyHSD multiple comparisons procedure with an ANOVA (lm) object, an extra line appears in the confidence intervals that contain 0. For example (this is straight from the TukeyHSD helpfile): > summary(fm1 <- aov(breaks ~ wool + tension, data = warpbreaks)) > TukeyHSD(fm1, "tension", ordered = TRUE) > plot(TukeyHSD(fm1,
2004 May 14
0
Work around for TukeyHSD names
R Version 2.0.0 Under development (unstable) (2004-05-07) I have been wanting to use TukeyHSD for two and three way aov's, as they are especially simple for students to use correctly. I realize model simplification is usually a preferred methodology, but my disciplinary enertia and simplicity of TukeyHSD is also compelling. However, the lack of names on the comparisons for the higher order
2005 Jul 15
1
Adjusted p-values with TukeyHSD (patch)
Dear R-developeRs, Attached follows a patch against svn 34959 that adds the printing of p-values to the TukeyHSD.aov function in stats package. I also updated the corresponding documentation file and added a 'see also' reference to the simint function of the multcomp package. As it was already brought up in a previous thread [1] in R-help, one can obtain the adjusted
2012 Apr 26
0
Some graphical parameters don't works in plot.table and plot.TukeyHSD.
Hello all, I would like to relate this behaviour of: plot.table & plot.TukeyHSD. They don't work with some graphical parameters. Thanks for your attetion. Cleber > ### example: > plot( table(1:10), cex.axis=0.6) > plot( table(1:10), las=2) > > tukaov <- TukeyHSD( aov(breaks ~ wool + tension, data = warpbreaks) ) > > plot( tukaov, main='xxx' ) Error
2008 Apr 28
0
restricting pairwise comparisons of interaction effects
I'm interested in restricting the pairwise comparisons of interaction effects in a multi-way factorial ANOVA, because I find comparisons of interactions between all different variables different to interpret. For example (supposing a p<0.10 cutoff just to be able to use this example): > summary(fm1 <- aov(breaks ~ wool*tension, data = warpbreaks)) Df Sum Sq Mean Sq F
2013 Jan 13
2
getting TukeyHSD code
Hello R People: Here's the Saturday night goofy question. I would like to see the code for TukeyHSD function and I tried the following: > getAnywhere("TukeyHSD") A single object matching ?TukeyHSD? was found It was found in the following places package:stats namespace:stats with value function (x, which, ordered = FALSE, conf.level = 0.95, ...)
2009 Oct 20
1
TukeyHSD no longer working with aov output?
I can prove I've done this before, but I recently installed Rexcel (and it was easiest to reinstall R and some other bits to make it work) and now its no longer working. Before I would do an ANOVA and a tukey post-hoc like this: >data1.aov=aov(result~factor1*factor2, data=data1) then... >TukeyHSD(summary(data1.aov)) and it would give me a nice tukey table of all the pairwise
2003 Aug 13
1
anova and tukeyHSD
I would like to do a one way anova and then a tukeyHSD. I have three vectors A,B and C. In a previous help message, I was told to do the following for the anova: y = c(A,B,C) group = factor(rep(a:3,c(7,9,13))) #provided there a 7 elements in A,9 in B and 13 in C and then anova(lm(y~group)) Looking at the tukeyHSD method it looks like it wants the aov method which I don't understand.
2018 Apr 24
0
TukeyHSD and glht differ for models with a covariate
I have a question about TukeyHSD and the glht function because I'm getting different answers when a covariate is included in model for ANCOVA.? I'm using the cabbages dataset in the 'MASS' package for repeatability.? If I include HeadWt as a covariate, then I get different answers when performing multiple comparisons using TukeyHSD and the glht function. The difference appears
2010 Feb 26
2
TukeyHSD troubles
I've tried to run a Tukey post-hoc but keep getting this weird error, whether the aov was significant or not. treat_code is a dummy variable, but that shouldn't matter. Any suggestions? Thanks Amy > summary(aov(EtoH~treat_code, mydata)) Df Sum Sq Mean Sq F value Pr(>F) treat_code 1 16.44 16.44 11.027 0.001014 ** Residuals 287 427.91 1.49 --- Signif.
2010 Mar 25
1
Expected pairwise.student.t and TukeyHSD behavior?
pairwise.t.test is returning NAs when one of the samples only has one entry, while TukeyHSD returns results (maybe not trustworthy or believable, but results). I stumbled on this because I did not realize one of my samples only had one entry while most of the others had several hundred, so I realize this is not a desirable situation. I'm really just curious about the difference between how
2007 Jun 28
2
TukeyHSD
Hello everyone, So I ran an anova with aov and then I want to run post-hoc comparisons but keep receiving this message : > no applicable method for "TukeyHSD" Here is my code: > d<-read.table("d.txt") > d > Obs subj Hand Gaze RT > 1 1 s1 1 1 401.4 > 2 2 s2 1 1 363.3...... > summary(ano <-
2004 Aug 20
0
Proposed (minor) change to plot.TukeyHSD
Attached follows a patch to a minor change in the plot method of the TukeyHSD class (package stats). Basically it defines main= and xlab= as formal arguments of the plot function, with reasonable default values, passing them to title(), instead of using hard-coded only values for main= and xlab=. This way it's possible to change the title and xlab of the plots created using plot.TukeyHSD().
2006 Feb 08
1
ERROR: no applicable method for "TukeyHSD"
Why do I see this error? > library(stats) > require(stats) [1] TRUE > > tHSD <- TukeyHSD(aov) Error in TukeyHSD(aov) : no applicable method for "TukeyHSD" In case it helps: > aov Call: aov(formula = roi ~ (Cue * Hemisphere) + Error(Subject/(Cue * Hemisphere)), data = roiDataframe) Grand Mean: 8.195069 Stratum 1: Subject Terms: Residuals Sum
2006 Mar 28
2
TukeyHSD for repeated measures aov ?
Hi all, I search the archive for finding a simple solution for using TukeyHSD with a multistratum aov result (a repeated emasure anova). The Question have been asked but I've found no clear answer. res<-aov(y~Fa*Fb+Error(Subject/(Fa*Fb)) ) I think that the problem is that res is an aovlist object instead of the "aov" object required by TukeyHSD. Is there an easy solution to