<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hide legend box in proc FREQ? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89464#M25514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Equivalent proc tabulate code would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=regdata2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class field exam_data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table field,exam_data*n=' '*f=f6.0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your counts are more than 999999 make the f6.0 larger.&lt;/P&gt;&lt;P&gt;This code will not display counts where either of Field or Exam_data are missing. If you want to see the missing, if any, add "/ missing" to the class statement after the variable names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 15:29:05 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-06-22T15:29:05Z</dc:date>
    <item>
      <title>Hide legend box in proc FREQ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89462#M25512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running a basic cross tabulation of two variables (Field, Exam_Date) in a proc freq statement using the following code: proc freq data=regdata2 notitle; table Field*Exam_Date/ norow nocol nopercent; run; The table itself is coming out fine but I still get the legend box on the left of the output screen, which only says the word "frequency" since I told the proc to hide row/column percents, etc.. Is there a way to hide that little legend box and just display the table itself?&amp;nbsp; The legend box is not needed.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 17:40:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89462#M25512</guid>
      <dc:creator>aj8686</dc:creator>
      <dc:date>2012-06-21T17:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hide legend box in proc FREQ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89463#M25513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'd switch to PROC REPORT or PROC TABULATE if all you want is frequency counts in a crosstabular layout. Either procedure would give you what you want without that little box, which is a feature of PROC FREQ and sort of hard to get rid of, not impossible, but not easy, either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I not on a machine where I can post code, but if you search for previous forum postings, there have been many good examples of both TABULATE and REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 18:42:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89463#M25513</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-06-21T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hide legend box in proc FREQ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89464#M25514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Equivalent proc tabulate code would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=regdata2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class field exam_data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table field,exam_data*n=' '*f=f6.0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your counts are more than 999999 make the f6.0 larger.&lt;/P&gt;&lt;P&gt;This code will not display counts where either of Field or Exam_data are missing. If you want to see the missing, if any, add "/ missing" to the class statement after the variable names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 15:29:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Hide-legend-box-in-proc-FREQ/m-p/89464#M25514</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-06-22T15:29:05Z</dc:date>
    </item>
  </channel>
</rss>

