[R] digits in matrix

Knut Krueger rh at knut-krueger.de
Fri Jan 30 12:31:50 CET 2015


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



More information about the R-help mailing list