Dear R-enthusiats,

While using the regression fonction 'brunch' of CAPER (with R v2.15.4),

in a simple case (binary variable Yes/No vs. a continuous variable)

I ended with an unexplained error:

Error in if (any(stRes > robust)) { :
  missing value where TRUE/FALSE needed


I simplified my code so that you can run it, just copy everything in a
directory and run
source("analysis.R")

 > Code:
http://iktp.tu-dresden.de/~prudent/Divers/R/analysis.R

 > Tree:
http://iktp.tu-dresden.de/~prudent/Divers/R/vertebrates.tree

 > Data:
http://iktp.tu-dresden.de/~prudent/Divers/R/data.txt

The source of the error is the pruning, (particularly for these tips:

"cavPor3", "myoLuc1")

but after searching around I still have no clue of what is happening.

Any hint is welcome!

Thanks in advance,

Xavier

	[[alternative HTML version deleted]]

