<?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: Creating a formula that gives difference between rows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656876#M84590</link>
    <description>&lt;P&gt;Yes, it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 10:30:58 GMT</pubDate>
    <dc:creator>CohortMatrix221</dc:creator>
    <dc:date>2023-07-10T10:30:58Z</dc:date>
    <item>
      <title>Creating a formula that gives difference between rows</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656847#M84587</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know how to create a formula that checks the differences between the rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have here a file (Data 1) with a column of trials from 1 to 8 (several sequences).&lt;/P&gt;&lt;P&gt;Another column contains the time parameter.&lt;/P&gt;&lt;P&gt;How do I create a new column that checks the time differences between trials 2 and 1, 3 and 2, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 09:43:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656847#M84587</guid>
      <dc:creator>CohortMatrix221</dc:creator>
      <dc:date>2023-07-10T09:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a formula that gives difference between rows</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656874#M84588</link>
      <description>&lt;P&gt;Based on the provided data, Lag() or Dif() should work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(:Trial == 1,
	.,
	Dif(:"Time to finish (sec)"n)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1688983729481.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54531iB7C66A0FE4B72C4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1688983729481.png" alt="jthi_0-1688983729481.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 10:09:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656874#M84588</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-10T10:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a formula that gives difference between rows</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656876#M84590</link>
      <description>&lt;P&gt;Yes, it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 10:30:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-a-formula-that-gives-difference-between-rows/m-p/656876#M84590</guid>
      <dc:creator>CohortMatrix221</dc:creator>
      <dc:date>2023-07-10T10:30:58Z</dc:date>
    </item>
  </channel>
</rss>

