Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: points in matrix rownames


From   Sergiy Radyakin <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: points in matrix rownames
Date   Thu, 19 Dec 2013 17:43:31 -0500

matrix rownames B=lll!@#$%^&*()a
. mat l B
symmetric B[1,1]
              c1
lll!@#$%^&~a   1

Plenty of things are actually allowed there, but a DOT and a COLUMN
have a special meaning, and hence can't be used:
--begin quote--
Row and column names may have three parts:
        equation_name:ts_operator.subname
--end quote--
Everything else should be accepted.


Use "_" as Nick suggests, or replace with a char(183), but this might
look differently on different computers.

Best, Sergiy


On Thu, Dec 19, 2013 at 5:33 PM, Nick Cox <[email protected]> wrote:
> I believe not. Apart from equation names, row and column names must
> follow the rules for Stata names in general, so the underscore _ is
> the only punctuation allowed.
>
> Nick
> [email protected]
>
>
> On 19 December 2013 21:15, Thomas Lux <[email protected]> wrote:
>>
>>
>> Hey,
>>
>> I want to display a matrix in which the rows contain value labels
>> that include points for abbreviations. However, the following does not work:
>>
>> matrix A = 1, 2 \ 3, 4
>> matrix rowname A = "Label" "Long Lab."
>> matrix list A
>>
>> Is there any way to label rows of a matrix in such a way that the row labels
>> can ontain points?
>>
>> Best,
>> Thomas
>>
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index