We have a very slight inconsistency in the treatment of logical matrices with our three major factorizations:
qr() coerces to numeric , whereas svd() and eigen() give an error. I'm proposing to change svd() and eigen() such that they also treat a logical matrix as if it was 0-1 , analogously to all other arithmetic operations. Martin Maechler, R Core Team & ETH Zurich ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel