Re: [R] R: writing data from one matrix into another with keeping NA's

2011-11-19 Thread Uwe Ligges
On 18.11.2011 18:06, Karl Weinmayer wrote: Hi, I am looking to build even quintiles for a set of data. I managed to get it done, but I would like to know if there is a more direct way to write the data from my loop output x in the bottom of the code into the "empty" matrix p1, which I filled w

[R] R: writing data from one matrix into another with keeping NA's

2011-11-18 Thread Karl Weinmayer
Hi, I am looking to build even quintiles for a set of data. I managed to get it done, but I would like to know if there is a more direct way to write the data from my loop output x in the bottom of the code into the "empty" matrix p1, which I filled with NA's. The way I am doing it at the momen