<?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: Merge two rows without lines in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959780#M374443</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437499"&gt;@PSIOT2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can use the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n1dz7jdasx5t56n1rmlx346dyk6n.htm#n0zy22i47d61srn1jv4j0iu2y9ti" target="_blank" rel="noopener"&gt;SPANROWS option&lt;/A&gt; of the PROC REPORT statement to get rid of the separating line and optionally, for vertically centered alignment, the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsproc/p1pt77toue3iyun0z4l9gth5as9f.htm#n17x1nh0ypl1mzn1fn3gadhi52xw" target="_blank" rel="noopener"&gt;VERTICALALIGN=&lt;/A&gt;M (alias: VJUST=M) style attribute, as suggested in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Merging-cells-when-grouped-and-vertical-center/td-p/302710" target="_blank" rel="noopener"&gt;Re: Proc Report, Merging cells when grouped and vertical center&lt;/A&gt;:&lt;/P&gt;
&lt;PRE&gt;data myLROCresults;
infile cards dlm='|';
input modality :$20. Cancer Benign difference;
cards;
Only scan|140|300|1.6
With LCS report|160|320|1.6
;

ods rtf file='C:\Temp\LROC.rtf';
proc report data=myLROCResults &lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;spanrows&lt;/STRONG&gt;&lt;/FONT&gt;;
column modality Cancer Benign difference;
define Cancer / display style={cellwidth=7%} "Cancerous number" CENTER;
define Benign / display style={cellwidth=6%} "Benign number" CENTER;
define difference / order style={cellwidth=7% &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;vjust=m&lt;/FONT&gt;&lt;/STRONG&gt;} "AUC diff. (%)" CENTER;
run;
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spanrows_vjust.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104794i28A1BF3C914FF563/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spanrows_vjust.png" alt="spanrows_vjust.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 12:21:38 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2025-02-20T12:21:38Z</dc:date>
    <item>
      <title>Merge two rows without lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959755#M374434</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I would like to merge two rows withouy a line between the rows for AUC diff column:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PSIOT2_0-1740036527388.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104783iDB841A887B287B8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PSIOT2_0-1740036527388.png" alt="PSIOT2_0-1740036527388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used order for having only one value for AUC diff but I have still a line under 1.6.&lt;/P&gt;&lt;P&gt;Please find the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=LROCResults nowd CONTENTS="Table 2.2: Confidence Interval for LROC Areas";&lt;BR /&gt;column index modality Cancer Benign Reader AUCValue ci_imrmc difference Objective pval conclusion;&lt;BR /&gt;define index / group noprint;&lt;BR /&gt;define Cancer / display style={cellwidth=7%} "Cancerous number" CENTER;&lt;BR /&gt;define Benign / display style={cellwidth=6%} "Benign number" CENTER ;&lt;BR /&gt;define Reader / display style={cellwidth=6%} "Reader number" CENTER ;&lt;BR /&gt;define difference / order style={cellwidth=5%} "AUC diff. (%)" CENTER ;&lt;BR /&gt;break before index/ contents="" page;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 07:29:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959755#M374434</guid>
      <dc:creator>PSIOT2</dc:creator>
      <dc:date>2025-02-20T07:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two rows without lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959767#M374436</link>
      <description>&lt;P&gt;Is the little table you show us the input, or the desired output? If it is the input, please show us the desired output. If it is the output, please show us the input SAS data set.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 11:16:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959767#M374436</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2025-02-20T11:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two rows without lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959780#M374443</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437499"&gt;@PSIOT2&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can use the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n1dz7jdasx5t56n1rmlx346dyk6n.htm#n0zy22i47d61srn1jv4j0iu2y9ti" target="_blank" rel="noopener"&gt;SPANROWS option&lt;/A&gt; of the PROC REPORT statement to get rid of the separating line and optionally, for vertically centered alignment, the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsproc/p1pt77toue3iyun0z4l9gth5as9f.htm#n17x1nh0ypl1mzn1fn3gadhi52xw" target="_blank" rel="noopener"&gt;VERTICALALIGN=&lt;/A&gt;M (alias: VJUST=M) style attribute, as suggested in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-Merging-cells-when-grouped-and-vertical-center/td-p/302710" target="_blank" rel="noopener"&gt;Re: Proc Report, Merging cells when grouped and vertical center&lt;/A&gt;:&lt;/P&gt;
&lt;PRE&gt;data myLROCresults;
infile cards dlm='|';
input modality :$20. Cancer Benign difference;
cards;
Only scan|140|300|1.6
With LCS report|160|320|1.6
;

ods rtf file='C:\Temp\LROC.rtf';
proc report data=myLROCResults &lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;spanrows&lt;/STRONG&gt;&lt;/FONT&gt;;
column modality Cancer Benign difference;
define Cancer / display style={cellwidth=7%} "Cancerous number" CENTER;
define Benign / display style={cellwidth=6%} "Benign number" CENTER;
define difference / order style={cellwidth=7% &lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;vjust=m&lt;/FONT&gt;&lt;/STRONG&gt;} "AUC diff. (%)" CENTER;
run;
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spanrows_vjust.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/104794i28A1BF3C914FF563/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spanrows_vjust.png" alt="spanrows_vjust.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 12:21:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/959780#M374443</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2025-02-20T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two rows without lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/960054#M374500</link>
      <description>&lt;P&gt;Thank you a lot&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 05:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge-two-rows-without-lines/m-p/960054#M374500</guid>
      <dc:creator>PSIOT2</dc:creator>
      <dc:date>2025-02-24T05:46:11Z</dc:date>
    </item>
  </channel>
</rss>

