[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Macro display format
Thank you Nick & Nick,
Nick W., I tried using your syntax, but I'm having some problems:
. sysuse auto, clear
(1978 Automobile Data)
. qui summ length
. local mymean = `r(mean)'
. twoway scatter length mpg, text(200 35 "Mean is `: %2.1f `mymean''")
% not allowed
. di `mymean'
I also tried using the rclass r(mean), instead of assigning it to a
local macro, but to no avail. Does the colon need to stay inside the
PS Using Stata 9.1 on Win XP
This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
* For searches and help try: