Re: [R] Wrinting integers in a matrix faile

2007-02-23 Thread Oleg Sklyar
write.matrix(as.integer(b),'data.out') Mohsen Jafarikia wrote: Hello everyone, I am using the following program to get the p-value of some numbers (column 'LR' of the data.dat file). I want to write the 1st and 2nd column of the output file (data.out) as an integer while the program change

[R] Wrinting integers in a matrix faile

2007-02-22 Thread Mohsen Jafarikia
Hello everyone, I am using the following program to get the p-value of some numbers (column 'LR' of the data.dat file). I want to write the 1st and 2nd column of the output file (data.out) as an integer while the program change them to double. Could anybody please tell me how I can write the code