Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New SSC package: -valuesof-


From   "Ben Jann" <[email protected]>
To   <[email protected]>
Subject   st: New SSC package: -valuesof-
Date   Wed, 22 Feb 2006 10:23:40 +0100

Thanks to Kit Baum, a new package called -valuesof-
is available from the SSC Archive.

To install the package, type 

 . ssc install valuesof

Note that the -moremata- package is required. To 
install -moremata-, type

 . ssc install moremata 

-valuesof- copies the contents of a variable into 
a macro. 

-valuesof- may also be used to quickly display the 
values of a variable in a very condensed format. 
(Similar to -listjl-, STB-59, but unsorted and 
unaligned)

-valuesof- returns *all* values of varname. If you are 
interested in a list of the distinct values, i.e. the
"levels" of varname, see -help levelsof-.

-valuesof- may hit the limits of your Stata if used
with large amounts of data.

ben


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index