<?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: Spatial zoning of a large in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397080#M64784</link>
    <description>&lt;P&gt;Here is one formula that will work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	incr = (Col Max( :Your Column Name ) - Col Min( :Your Column Name )) / 24
);
value = Floor( (:Your Column Name - Col Min( :Your Column Name )) / incr ) + 1;
If( value &amp;gt; 24, value = 24 );
value;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Jun 2021 13:09:34 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-06-30T13:09:34Z</dc:date>
    <item>
      <title>Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397042#M64779</link>
      <description>&lt;P&gt;Can some help me with how to demarcate a plot of the field containing about 3500 data points into 24 different zones? Using Binning formula might be a great idea but I am not seeing any webinar on this.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:32:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397042#M64779</guid>
      <dc:creator>Samboat</dc:creator>
      <dc:date>2023-06-10T23:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397073#M64783</link>
      <description>&lt;P&gt;select the column by clicking on the header, then Cols-&amp;gt;Utilities-&amp;gt;make binning formula.&lt;/P&gt;&lt;P&gt;You might also want to look at the hierarchical clustering platform; you can ask it to make 24 clusters.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 13:01:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397073#M64783</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-06-30T13:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397080#M64784</link>
      <description>&lt;P&gt;Here is one formula that will work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( Row() == 1,
	incr = (Col Max( :Your Column Name ) - Col Min( :Your Column Name )) / 24
);
value = Floor( (:Your Column Name - Col Min( :Your Column Name )) / incr ) + 1;
If( value &amp;gt; 24, value = 24 );
value;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jun 2021 13:09:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397080#M64784</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-06-30T13:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397364#M64808</link>
      <description>&lt;P&gt;Thanks for responding. Is it possible to direct to a webinar on this or a short video explaining this?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 05:57:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397364#M64808</guid>
      <dc:creator>Samboat</dc:creator>
      <dc:date>2021-07-01T05:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397365#M64809</link>
      <description>&lt;P&gt;Thanks for responding, please is it possible to direct me to a short a video or a webinar explaining this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 06:00:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397365#M64809</guid>
      <dc:creator>Samboat</dc:creator>
      <dc:date>2021-07-01T06:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397464#M64820</link>
      <description>&lt;P&gt;google found&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Short-Videos/Binning-Data-Using-Conditional-IF-THEN-Statements/ta-p/271864" target="_blank"&gt;https://community.jmp.com/t5/Short-Videos/Binning-Data-Using-Conditional-IF-THEN-Statements/ta-p/271864&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which might be helpful, describing a third variation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might want to read up on column formulas in data tables, perhaps here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Mastering-JMP-Videos-and-Files/Using-Formulas-to-Get-the-Most-from-Your-Data/ta-p/286131" target="_blank"&gt;https://community.jmp.com/t5/Mastering-JMP-Videos-and-Files/Using-Formulas-to-Get-the-Most-from-Your-Data/ta-p/286131&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 10:51:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397464#M64820</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-07-01T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397512#M64824</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/29295"&gt;@Samboat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;specified links are valuable.&amp;nbsp; Please take the time to study them.&amp;nbsp; Also, you need to take the time to study the JMP Scripting Guide.&amp;nbsp; It can be found in the JMP Documentation Library available under the Help pull down menu&lt;/P&gt;
&lt;P&gt;Here is my attempt at documenting the formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// JMP formulas have a couple of automatic features that are taken 
// advantage of in this application
//     1. The formula code is applied automatically to each row in
//        the data table
//     2. What is passed to the output column as the resulting value
//        is the last item processed.  In this case, the variable 
//        named "value"

// The bins that are going to be created are calculated by dividing the 
// maximum value in the target column minus the minimum value in the target
// column, by 24.  This will give the size of each of the bins.  But since
// JMP formulas are run on each row, the calculation of items that only need
// to be calculated once are more efficiently isolated by just having them
// calculated when the formula for row 1 is run
If( Row() == 1,
	incr = (Col Max( :Your Column Name ) - Col Min( :Your Column Name )) / 24
);

// The variable "value", is an arbitrary variable, that is going to be used to 
// hold the calculation of the bin
// To calculate the bin is a simple matter of subtracting the minimum value from the 
// current rows value and then dividing by the calculated bin size(incr);  Taking
// the Floor() of the calculation, just trims off the decimal placed.
value = Floor( (:Your Column Name - Col Min( :Your Column Name )) / incr ) + 1;

// Using the above binning technique, will always set any row values that are 
// equal to the column's maximum value to a bin that is one bin value above the
// maximum number of bins desired. so the simple IF() statemet moves those values
// into the highest bin
If( value &amp;gt; 24, value = 24 );

// As mentioned above, the variable named "value" has been used to hold the calculated
// bin value.  It is this value that is what is wanted for the value of the column
// the calculating.  By specifying it as the last item processed, it ensures it will
// be the item used to populate the rows value.
value;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Jul 2021 12:33:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/397512#M64824</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-01T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/398294#M64919</link>
      <description>Thank you Sir</description>
      <pubDate>Mon, 05 Jul 2021 06:08:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/398294#M64919</guid>
      <dc:creator>Samboat</dc:creator>
      <dc:date>2021-07-05T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial zoning of a large</title>
      <link>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/398295#M64920</link>
      <description>Thank you, Sir</description>
      <pubDate>Mon, 05 Jul 2021 06:08:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spatial-zoning-of-a-large/m-p/398295#M64920</guid>
      <dc:creator>Samboat</dc:creator>
      <dc:date>2021-07-05T06:08:59Z</dc:date>
    </item>
  </channel>
</rss>

