<?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: Counting rows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Counting-rows/m-p/39856#M23338</link>
    <description>&lt;P&gt;the formula would be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Number(:Count,ID)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Jun 2017 00:03:57 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-06-02T00:03:57Z</dc:date>
    <item>
      <title>Counting rows</title>
      <link>https://community.jmp.com/t5/Discussions/Counting-rows/m-p/39852#M23334</link>
      <description>&lt;P&gt;I have a data set with multiple lines of data per individual. The lines of data are medical procedures and I want to get the average number of lines (or procedures) per individual. I'm not sure how to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to count the number of lines but I can't take the mean of that since everyone who has 5 lines also has 4 lines and 3 lines and so on. So basically what I think I need is for JMP to count the number of lines, but then only save the highest number. How can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data structure is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;001&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;001&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;001&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;002&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;003&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;003&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 21:08:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Counting-rows/m-p/39852#M23334</guid>
      <dc:creator>jswislar</dc:creator>
      <dc:date>2017-06-01T21:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Counting rows</title>
      <link>https://community.jmp.com/t5/Discussions/Counting-rows/m-p/39856#M23338</link>
      <description>&lt;P&gt;the formula would be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Col Number(:Count,ID)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Jun 2017 00:03:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Counting-rows/m-p/39856#M23338</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-02T00:03:57Z</dc:date>
    </item>
  </channel>
</rss>

