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: Column Width Question
From
Erika Kociolek <[email protected]>
To
[email protected]
Subject
Re: st: Column Width Question
Date
Tue, 7 Jan 2014 07:55:21 -0800
Thank you!
Erika
On Tue, Jan 7, 2014 at 7:41 AM, Phil Schumm <[email protected]> wrote:
> On Jan 7, 2014, at 9:19 AM, Erika Kociolek <[email protected]> wrote:
>> I have a Stata dataset and the column width of the one of the string variables is extremely large. The length of the data within the column varies between 3 and 47 characters. There are other columns in the data with data of a similar length but the column widths are much smaller.
>>
>> The wide column makes it difficult to browse data - it takes up a large portion of the entire screen. Is there anything I can do to size down the column (or make it "fit" the data)?
>
>
> Yes, assign a narrower format to the variable(s), e.g.,
>
> format %24s myvar
>
>
> -- Phil
>
>
> *
> * 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/