-
Login or Register
- Log in with
*! NJC 1.0.0 15 March 2007
program tabnl
version 8
syntax varlist(min=1 max=2) [if] [in] [fweight aweight iweight] [, *]
foreach v in `varlist' {
local lblname : value label `v'
if "`lblname'" != "" {
tempvar V
tempname temp
clonevar `V' = `v'
labvalclone `lblname' `temp'
numlabel `temp', add
label val `V' `temp'
local newlist `newlist' `V'
}
else local newlist `newlist' `v'
}
tab `newlist' `if' `in' [`weight' `exp'] , `options'
end
Comment