<?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 meaning in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491971#M129199</link>
    <description>&lt;P&gt;data s ;&lt;BR /&gt;set sashelp.class ;&lt;BR /&gt;t=min(age,_n_) ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is meaning of&amp;nbsp; &amp;nbsp;t=min(age,_n_)&amp;nbsp; ?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Sep 2018 04:54:44 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2018-09-03T04:54:44Z</dc:date>
    <item>
      <title>meaning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491971#M129199</link>
      <description>&lt;P&gt;data s ;&lt;BR /&gt;set sashelp.class ;&lt;BR /&gt;t=min(age,_n_) ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is meaning of&amp;nbsp; &amp;nbsp;t=min(age,_n_)&amp;nbsp; ?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 04:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491971#M129199</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-09-03T04:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491974#M129201</link>
      <description>&lt;P&gt;Here the function min is for minimum so it returns the minimum values of the variables and puts them in the new variable. &lt;BR /&gt;&lt;BR /&gt;here _n_ returns the row number of the min(age,_n_) will compare the age with the row number or observation number and keeps the minimum of them in the new variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22950iA34A8D6A2E4B235B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 05:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491974#M129201</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-09-03T05:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491988#M129212</link>
      <description>&lt;P&gt;To be very correct here: _n_ is not the &lt;EM&gt;row number&lt;/EM&gt; as such. It is the number of the &lt;EM&gt;current iteration&lt;/EM&gt; of the data step. This very often correlates with either the row number of the input or output dataset, but it can very easily be different:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data s;
do until (eof);
  set sashelp.class end=eof;
  t=min(age,_n_);
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 06:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/meaning/m-p/491988#M129212</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-03T06:43:47Z</dc:date>
    </item>
  </channel>
</rss>

