In addition to what Petr said, That message most likely means that you have some missing data where you're not allowed to have missing data in your Datos.
Look and see if the mctp() function has an argument that controls what it does with missing data. -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 7/16/13 2:29 PM, "Lee Jejen" <yitus...@hotmail.com> wrote: >Hello, I have a problem... I tried using a function and I get the error: >"ERROR: missing value where TRUE/FALSE needed" >Here is my code: >a<-mctp(Ecoli~Fecha, data=Datos, type = "Tukey", alternative = >"two.sided", asy.method = "mult.t", plot.simci = TRUE)summary(a) >Ecoli, Fecha and Datos are well defined. I don't know what is the >problem... >THANKS > > [[alternative HTML version deleted]] > >______________________________________________ >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, minimal, self-contained, reproducible code. ______________________________________________ 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, minimal, self-contained, reproducible code.