Hello,
I was given .do files for a big project from my predecessor at work. I'm hoping someone can help me interpret this bit of code:
Specifically, I do not understand what "==.n" means. I cannot find it in any search or help files. I've never seen this syntax before.
I was given .do files for a big project from my predecessor at work. I'm hoping someone can help me interpret this bit of code:
Code:
ds, has(type numeric) foreach var of varlist `r(varlist)' { replace `var' = . if `var' < 0 replace `var' = . if `var' == .n }
Comment