Re: [R] change NA values

2008-02-19 Thread Martin Elff
On Tuesday 19 February 2008 (12:33:21), Alfonso Pérez Rodríguez wrote: > Hello, I'm sure that this question is too simple, but, I'm begining with R > and I'm not able to change the NA values in a matrix by 0 values, and it's > necessary for my work, how can I do It? Thank you. your.matrix[is.na(yo

Re: [R] change NA values

2008-02-19 Thread Gabor Csardi
?RSiteSeach is useful. It gives you this: http://tolstoy.newcastle.edu.au/R/e2/help/07/09/25536.html and then keep clicking on "Next in thread". Gabor On Tue, Feb 19, 2008 at 12:33:21PM +0100, Alfonso Pérez Rodríguez wrote: > Hello, I'm sure that this question is too simple, but, I'm begining w

[R] change NA values

2008-02-19 Thread Alfonso Pérez Rodríguez
Hello, I'm sure that this question is too simple, but, I'm begining with R and I'm not able to change the NA values in a matrix by 0 values, and it's necessary for my work, how can I do It? Thank you. Alfonso Pérez Rodríguez Instituto de Investigaciones Marinas C/ Eduardo Cabello nº 6 C.P. 3