Am 30.01.2015 um 11:50 schrieb PIKAL Petr:
You cannot. Matrix is a vector with dimensions so basically it has to have the same mode and type of data. The only way I can think about is to split matrix to 3 matrices before making calculation an keep those 3 matrices separate. Cheers Petr
but looking to data[,3] this column is not converted, and the matrix is mixed
Regards Knut ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.