Statalist The Stata Listserver


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

st: Update to -center- on SSC


From   "Ben Jann" <[email protected]>
To   <[email protected]>
Subject   st: Update to -center- on SSC
Date   Thu, 23 Feb 2006 09:58:25 +0100

Thanks to Kit Baum, the -center- package has been 
updated on SSC.

To install the update, type

 . ssc install center, replace

-center- now has a -generate()- option to specify 
the full name of the new variable to be created. 
With the previous version it was only possible to
specify a prefix.

Note that -center- may only be applied to one 
variable at a time if generate() is specified.

The new -generate()- option is especially useful
in programming contexts where one is working with
temporary variables. Example:

 ...
 tempvar c_x
 center `x', generate(`c_x') 
 ...

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