[R] digits in matrix
murdoch.duncan at gmail.com
Fri Jan 30 12:51:44 CET 2015
On 30/01/2015 6:31 AM, Knut Krueger wrote:
> 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.
> but looking to data[,3] this column is not converted, and the matrix is
You are mixing up formatting with storage. Floating point numbers will
be displayed without decimals if they are close enough to whole numbers.
More information about the R-help