<?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: For loop without programming and coding in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386669#M63674</link>
    <description>&lt;P&gt;I'm not seeing attachments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I'm imagining your table might be similar to this set of columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;ILatitude&amp;nbsp; JLongitude&amp;nbsp; Temp&amp;nbsp; Wind&amp;nbsp; FeelsLike&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;CalculatedFromT&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;empAndWind&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where the lat/lon (i and j) have no bearing on the calculated value which is only depending on temp and wind. But you might want to use them on a contour plot of FeelsLike by lat,lon. If that's similar to your data, use a simple column formula for FeelsLike and then make the contour plot from lat, lon, FeelsLike.&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 03:37:43 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2021-05-19T03:37:43Z</dc:date>
    <item>
      <title>For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386578#M63663</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I have 3 columns (i, j, and k), could you help how to use the "for" formula (without programming and coding) to make a loop and link between these columns?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 20:58:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386578#M63663</guid>
      <dc:creator>HLA</dc:creator>
      <dc:date>2021-05-18T20:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386589#M63665</link>
      <description>&lt;P&gt;We're going to need some more details here about what you mean by "loop and link between these columns."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share a mocked up example of the table you have and what you want as a result?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 21:02:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386589#M63665</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-05-18T21:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386604#M63664</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32944iD4B5AE9C99DFFA2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 21:51:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386604#M63664</guid>
      <dc:creator>HLA</dc:creator>
      <dc:date>2021-05-18T21:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386661#M63671</link>
      <description>&lt;P&gt;The formula editor for the Z column is inside an implied loop that runs for every row in the table; you might be able to just write&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x + 5*y &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;as the Z column formula to get the x and y values from the same row.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 00:40:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386661#M63671</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-05-19T00:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386664#M63672</link>
      <description>Thanks, but what about " i," and " j" values?</description>
      <pubDate>Wed, 19 May 2021 02:23:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386664#M63672</guid>
      <dc:creator>HLA</dc:creator>
      <dc:date>2021-05-19T02:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386665#M63673</link>
      <description>I have attached the details, Sir.</description>
      <pubDate>Wed, 19 May 2021 02:25:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386665#M63673</guid>
      <dc:creator>HLA</dc:creator>
      <dc:date>2021-05-19T02:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386669#M63674</link>
      <description>&lt;P&gt;I'm not seeing attachments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I'm imagining your table might be similar to this set of columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;ILatitude&amp;nbsp; JLongitude&amp;nbsp; Temp&amp;nbsp; Wind&amp;nbsp; FeelsLike&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;CalculatedFromT&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;empAndWind&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where the lat/lon (i and j) have no bearing on the calculated value which is only depending on temp and wind. But you might want to use them on a contour plot of FeelsLike by lat,lon. If that's similar to your data, use a simple column formula for FeelsLike and then make the contour plot from lat, lon, FeelsLike.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 03:37:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386669#M63674</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-05-19T03:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: For loop without programming and coding</title>
      <link>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386959#M63712</link>
      <description>&lt;P&gt;I'm afraid I still don't understand what your resulting column should look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You've written:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Z(i,j) = x * 5y;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and you've said that you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;i to go from 0 to 90&lt;/LI&gt;
&lt;LI&gt;j to go from 0 to 180&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, do you want your z column filled with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;z(0,0) = 0 * 5 * 0 = 0&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;z(90, 180) = 90 * 5 * 180 = 81000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;pointed out, the For() function isn't (generally speaking) appropriate for use in a formula column, nor is it required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case you should use the &lt;A href="https://www.jmp.com/support/help/en/16.0/#page/jmp/row-functions.shtml" target="_self"&gt;Count() or Sequence()&lt;/A&gt; functions in an i column and a j column to &amp;nbsp;build a data table with your i and j sequences and then a z column with the formula:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;i * 5 * j&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Edit: Attaching a data table that shows Count() and Sequence() columns.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 18:38:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/For-loop-without-programming-and-coding/m-p/386959#M63712</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-05-19T18:38:29Z</dc:date>
    </item>
  </channel>
</rss>

