Skip to content
Prev 116184 / 398498 Next

more simplified output from glht object

Em Segunda 21 Maio 2007 08:14, Ronaldo Reis Junior escreveu:
I try to use multcompLetters, but dont work

Look
Simultaneous Tests for General Linear Hypotheses

Multiple Comparisons of Means: Tukey Contrasts


Fit: glm(formula = PesoFruto ~ Ind)

Linear Hypotheses:
             Estimate Std. Error z value p value    
2 - 1 == 0   -0.11213    0.08760  -1.280  0.9724    
3 - 1 == 0   -0.69390    0.08715  -7.962   <0.01 ***
...

But using the multcompLetters,
Error in do.call(compare, list(x, threshold)) : 
        (list) object cannot be coerced to 'double'

What is the error? In manual this say that is to be used with multcomp 
objects.

Designed for use with the output of functions like TukeyHSD, dist{stats}, 
simint, simtest, csimint, csimtest{multcomp}, friedmanmc, 
kruskalmc{pgirmess}. 

It is not showed the glht function, but in multcomp package this function is a 
substitute for simint, simtest, csimint and csimtest.

Any idea?

Thanks