<?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 Assign a &amp;quot;bin&amp;quot; value based on odd or even value in another column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416299#M66557</link>
    <description>&lt;P&gt;Is it possible to assign a "bin" value based on the number being odd or even.&amp;nbsp; The attached table already has a bin column but i am trying to split this pick list up and making every other part a different bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even = 1&lt;/P&gt;&lt;P&gt;Odd = 2&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:36:40 GMT</pubDate>
    <dc:creator>Yngeinstn</dc:creator>
    <dc:date>2023-06-10T23:36:40Z</dc:date>
    <item>
      <title>Assign a "bin" value based on odd or even value in another column</title>
      <link>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416299#M66557</link>
      <description>&lt;P&gt;Is it possible to assign a "bin" value based on the number being odd or even.&amp;nbsp; The attached table already has a bin column but i am trying to split this pick list up and making every other part a different bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even = 1&lt;/P&gt;&lt;P&gt;Odd = 2&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:36:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416299#M66557</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2023-06-10T23:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a "bin" value based on odd or even value in another column</title>
      <link>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416313#M66559</link>
      <description>&lt;P&gt;Assuming that column SeqNo is the column you want to have the odd and even binning based on the formula for the bin_2 is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;mod( :SeqNo, 2 ) +1;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Mod, or Modulo returns the remainder from dividing the first value by the second value.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:40:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416313#M66559</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-09-08T13:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a "bin" value based on odd or even value in another column</title>
      <link>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416318#M66560</link>
      <description>&lt;P&gt;txnelson beat me to it!&amp;nbsp; Anyway, I attached my version of his solution using the mod function, assuming you wanted to do this by row number.&amp;nbsp; Of course, you could use any other numeric value to spit by odd/even this way.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 13:43:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Assign-a-quot-bin-quot-value-based-on-odd-or-even-value-in/m-p/416318#M66560</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2021-09-08T13:43:04Z</dc:date>
    </item>
  </channel>
</rss>

