search for: egraw

Displaying 1 result from an estimated 1 matches for "egraw".

2010 Sep 01
8
how to replace NA with a specific score that is dependant on another indicator variable
Hi everyone, I’m looking for a clever bit of code to replace NA’s with a specific score depending on an indicator variable. I can see how to do it using lots of if statements but I’m sure there most be a neater, better way of doing it. Any ideas at all will be much appreciated, I’m dreading coding up all those if statements!!!!! My problem is as follows: I have a data set with