Others have given good answers to this and exposed my authorship of
-swapval-, which goes back to 1999.
Nine years further on, I am more conscious of the need that many people
have for totally explicit logs of changes to datasets. -swapval- does
not violate that in so far the code itself defines precisely what is
done but anyone using -swapval- for a serious purpose might be better
off with more pedestrian records of what has been changed and why, even
down to the level of observation-by-observation changes.
Nick
[email protected]
Paul O'Brien
i have a small program to temporarily swap variables using swapval.
[...]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/