<?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: Why does the order of the values in matrix scb4 change when added to a tablebox? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661999#M85080</link>
    <description>&lt;P&gt;Maybe you could first append the Number Col Edit Box and then set the values to i&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
ps = dt &amp;lt;&amp;lt; Process Screening(Grouping(:Site), Process Variables(Eval(5 :: 132)));
tb = (report(ps)[table box(1)]);


delta = Matrix(Report(ps)[Number Col Box("Mean")] &amp;lt;&amp;lt; get) - (Matrix(Report(ps)[Number Col Box("USL")] &amp;lt;&amp;lt; get)
 + Matrix(Report(ps)[Number Col Box("LSL")] &amp;lt;&amp;lt; get)) / 2;


scb4 = Number Col Edit Box("distance", {});
tb &amp;lt;&amp;lt; append(scb4);
scb4 &amp;lt;&amp;lt; Set Values(delta);

wait(0);
tb &amp;lt;&amp;lt; Sort By Column("Stability Index", 0);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm not sure how easily this would break when you are performing different actions within Process Capability though&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 05:06:18 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-07-25T05:06:18Z</dc:date>
    <item>
      <title>Why does the order of the values in matrix scb4 change when added to a tablebox?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661571#M85029</link>
      <description>&lt;P&gt;Why does the order of the values in matrix scb4 change when added to a tablebox? How does it not change? And a second question, can the order in tablebox be set according to two columns, now it is provided as one column. Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );
ps = dt &amp;lt;&amp;lt; Process Screening(
	Grouping( :Site ),
	Process Variables( Eval( 5 :: 132 ) )
);

tb = report(ps)[Table Box( 1 )];
delta = Matrix( Report( ps )[Number Col Box( "Mean" )] &amp;lt;&amp;lt; get ) - (Matrix( Report( ps )[Number Col Box( "USL" )] &amp;lt;&amp;lt; get )
+Matrix( Report( ps )[Number Col Box( "LSL" )] &amp;lt;&amp;lt; get )) / 2;



scb4 = Number Col Edit Box( "distance", delta );
//
a=scb4&amp;lt;&amp;lt;get;
tb &amp;lt;&amp;lt; append( scb4 );
b=scb4&amp;lt;&amp;lt;get;
c=a-b;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Jul 2023 06:19:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661571#M85029</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2023-07-24T06:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the order of the values in matrix scb4 change when added to a tablebox?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661602#M85032</link>
      <description>&lt;P&gt;My guess is that because you are appending it to a platform it will for some reason use default ordering. There might be a lot going on what you cannot see when you are directly manipulating JMP platforms like that. You could maybe use Clone Box to get the table and append to that (depending on what you are doing).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
ps = dt &amp;lt;&amp;lt; Process Screening(Grouping(:Site), Process Variables(Eval(5 :: 132)));

tb = Report(ps)[Table Box(1)];
delta = Matrix(Report(ps)[Number Col Box("Mean")] &amp;lt;&amp;lt; get) - (Matrix(Report(ps)[Number Col Box("USL")] &amp;lt;&amp;lt; get)
 + Matrix(Report(ps)[Number Col Box("LSL")] &amp;lt;&amp;lt; get)) / 2;


scb4 = Number Col Edit Box("distance", delta);
nw = new window("",
	tb1 = tb &amp;lt;&amp;lt; Clone Box;
);
a = scb4 &amp;lt;&amp;lt; get;
tb1 &amp;lt;&amp;lt; append(scb4);
b = scb4 &amp;lt;&amp;lt; get;
c2 = a - b;

scb4 = Number Col Edit Box("distance", delta);
a = scb4 &amp;lt;&amp;lt; get;
tb &amp;lt;&amp;lt; append(scb4);
b = scb4 &amp;lt;&amp;lt; get;
c1 = a - b;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Jul 2023 07:07:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661602#M85032</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-24T07:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the order of the values in matrix scb4 change when added to a tablebox?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661993#M85079</link>
      <description>&lt;P&gt;Thank you very much! It's already solved most of the problems. I would very much like to be able to add it to the original platform so that the commands on the platform can be used as well. But anyway, this is already very good too！&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 00:27:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661993#M85079</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2023-07-25T00:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the order of the values in matrix scb4 change when added to a tablebox?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661999#M85080</link>
      <description>&lt;P&gt;Maybe you could first append the Number Col Edit Box and then set the values to i&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
ps = dt &amp;lt;&amp;lt; Process Screening(Grouping(:Site), Process Variables(Eval(5 :: 132)));
tb = (report(ps)[table box(1)]);


delta = Matrix(Report(ps)[Number Col Box("Mean")] &amp;lt;&amp;lt; get) - (Matrix(Report(ps)[Number Col Box("USL")] &amp;lt;&amp;lt; get)
 + Matrix(Report(ps)[Number Col Box("LSL")] &amp;lt;&amp;lt; get)) / 2;


scb4 = Number Col Edit Box("distance", {});
tb &amp;lt;&amp;lt; append(scb4);
scb4 &amp;lt;&amp;lt; Set Values(delta);

wait(0);
tb &amp;lt;&amp;lt; Sort By Column("Stability Index", 0);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm not sure how easily this would break when you are performing different actions within Process Capability though&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 05:06:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/661999#M85080</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-25T05:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the order of the values in matrix scb4 change when added to a tablebox?</title>
      <link>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/662018#M85084</link>
      <description>&lt;P&gt;Thank you very much, very useful!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 07:43:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Why-does-the-order-of-the-values-in-matrix-scb4-change-when/m-p/662018#M85084</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2023-07-25T07:43:31Z</dc:date>
    </item>
  </channel>
</rss>

