Page 1 of 1

Turn NAs in zeroes

Posted: Tue Feb 08, 2011 8:42 am
by lucaski
Hello, I have a series with some NAs observations, I need to transform these NAs in zeroes.

Re: Turn NAs in zeroes

Posted: Tue Feb 08, 2011 8:49 am
by tchaithonov
you can either use @nan(x,0) or @recode(x<>NA,x,0).