[R] a question about glht function

Mark Difford mark_difford at yahoo.co.uk
Tue Jul 26 09:42:56 CEST 2011


On Jul 26, 2011 Lao Meng wrote:

> glht(result, linfct = mcp(f_GROUP="Tukey") ) 
> Error in `[.data.frame`(mf, nhypo[checknm]) : undefined columns selected

It is almost certainly the underscore in the name ("_") that is causing the
problem. Try putting the term in quotes ("f_GROUP").

Regards, Mark.

-----
Mark Difford (Ph.D.)
Research Associate
Botany Department
Nelson Mandela Metropolitan University
Port Elizabeth, South Africa
--
View this message in context: http://r.789695.n4.nabble.com/a-question-about-glht-function-tp3695038p3695067.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list