<?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 How to subset my data every 5 minutes per batch in time column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-subset-my-data-every-5-minutes-per-batch-in-time-column/m-p/842975#M101667</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set that has many batches of data stacked in one column. Another column is time point (1,2,3,4,...). I am trying to select and subset every 5 minute time point (and the first time point) for each batch such that time will be (1,5,10,15,20,..) for each batch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use the "select where" and "mod" functions but cannot get it to work.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 21:29:44 GMT</pubDate>
    <dc:creator>Abby_Collins14</dc:creator>
    <dc:date>2025-02-19T21:29:44Z</dc:date>
    <item>
      <title>How to subset my data every 5 minutes per batch in time column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-subset-my-data-every-5-minutes-per-batch-in-time-column/m-p/842975#M101667</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data set that has many batches of data stacked in one column. Another column is time point (1,2,3,4,...). I am trying to select and subset every 5 minute time point (and the first time point) for each batch such that time will be (1,5,10,15,20,..) for each batch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use the "select where" and "mod" functions but cannot get it to work.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 21:29:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-subset-my-data-every-5-minutes-per-batch-in-time-column/m-p/842975#M101667</guid>
      <dc:creator>Abby_Collins14</dc:creator>
      <dc:date>2025-02-19T21:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to subset my data every 5 minutes per batch in time column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-subset-my-data-every-5-minutes-per-batch-in-time-column/m-p/842986#M101669</link>
      <description>&lt;P&gt;Given your description, the following should work.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

dt &amp;lt;&amp;lt; select where( :time point == 1 | Mod( :time point, 5 ) == 0 );

dtSub = dt &amp;lt;&amp;lt; subset( selected rows( 1 ), selected columns( 0 ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Feb 2025 22:17:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-subset-my-data-every-5-minutes-per-batch-in-time-column/m-p/842986#M101669</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-02-19T22:17:02Z</dc:date>
    </item>
  </channel>
</rss>

