gtools-1.1.2
Release update. Various bug fixes and minor improvements. Remember to run gtools, upgrade
to keep up to date between major updates.
Enhancements and Features
-
Improved variable parsing in general (including '-' handling).
-
gcollapse (nmissing)
counts the number of missing values (weights allowed). -
gcollapse (nansum)
andgcollapse (rawnansum)
preserve missing value (NaN) information: If all entries are missing, the output is also missing (instead of 0). This is a more flexible version of the previous implementation,gcollapse, missing
. -
gcollapse, merge
andgegen
now accept the undocumented option_subtract
to subtract the result from the source variable. This is an option meant for advanced users, so no additional checks have been added. If you use it then you know what you're doing. -
Added option
sumcheck
to create sum targets from integer source as the smallest type that reasonable given the total sum.
Bug fixes
-
gisid
no longer gives wrong results when the data is partially ordered. Partially (weakly) sorted data in prior version was incorrectly counted as totally sorted. -
gcollapse (rawsum)
gives 0 if all entries are missing. -
gcollapse
andgegen
correctly parse types with weights for counts and sums. This includesgcollapse, sumcheck
-
Recast upgrade (bug fix from 1.0.5) now done per-variable.
-
gcollapse
no longer gives wrong results whencount
is the first of multiple stats requested for a given source variable. Previous versions wrongly recast the source as long. -
Gtools exits with error if
_N > 2^31-1
and points the user to the pertinent bug report.