[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: adding numerical value of -encode-ed value to label
-encode- is a built-in command, so there is no ado code to hack.
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of Daniel Egan
> Sent: Tuesday, November 23, 2004 4:33 PM
> To: firstname.lastname@example.org
> Subject: st: adding numerical value of -encode-ed value to label
> I have a a variable that I am encoding, that takes on a large
> number of values.
> How would one go about hacking -encode- such that in the
> value labels generated the numerical value is automatically
> added to the label, i.e.
> sysuse auto
> encode make, gen(make2)
> table make, c(m make2)
> where make2's labels should have
> 1- AMC Concord
> 2- AMC Pacer
> and so on...
CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s),
contains information that may be confidential, protected by the attorney-
client or other legal privileges, and/or proprietary non-public
information. If you are not an intended recipient of this message or an
authorized assistant to an intended recipient, please notify the sender by
replying to this message and then delete it from your system. Use,
dissemination, distribution, or reproduction of this message and/or any of
its attachments (if any) by unintended recipients is not authorized and
may be unlawful.
* For searches and help try: