<?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: Table Box (Data table col box) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74702#M35847</link>
    <description>&lt;UL&gt;&lt;LI&gt;Run the Oneway analysis within a VListbox(); A report will remain interactive (live). For each analysis stor the p-value in a list.&lt;/LI&gt;&lt;LI&gt;Investigate the matrix function rank(). Use it on the pvalue list, it returns the indices of the p-values and hence the oneways from low to high. r = rank(plist).&lt;/LI&gt;&lt;LI&gt;Set pnames = pnames[r].&amp;nbsp; This will order the names of the analyses from low to high.&lt;/LI&gt;&lt;LI&gt;Then from i=1 to number of analyses append to the window vlist box&amp;nbsp; &amp;lt;&amp;lt; append(VL[ r[i] ] )&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 18:38:10 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2018-09-20T18:38:10Z</dc:date>
    <item>
      <title>Table Box (Data table col box)</title>
      <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74646#M35833</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been working on this idea for the past week or so and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/70"&gt;@gzmorgan0&lt;/a&gt;&amp;nbsp;helped me with this post&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/creating-an-index-for-columns-to-point-to-the-graph/m-p/71555#M35439" target="_blank"&gt;https://community.jmp.com/t5/Discussions/creating-an-index-for-columns-to-point-to-the-graph/m-p/71555#M35439&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;say for example, I loop through 5 continuous columns and 2 nominal columns, I plot one way analysis of 10 columns(say nw2). I get the p-value and other parameters in a table. I want the table sorted in an ascending order of p-value. Can I have my table in a new window(nw1) and each of the row(as the row has both the appropriate X and Y axis relating to the graph) in the table should reference to the appropriate graph in the nw2? Is&amp;nbsp;Table Box (Data table col box) the right strategy or there is some other function I should be looking into?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate any input/comments/suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$Sample_Data/Big Class.jmp" );
 
ynames = {"weight", "height"};
xnames = {"sex", "age"};
pnames = {};
nw2 = New Window( "Custom Display", vl = V List Box() );
nw2 &amp;lt;&amp;lt; Size Window( 724, 395 );
For( i = 1, i &amp;lt;= N Items( ynames ), i++,
	For( j = 1, j &amp;lt;= N Items( xnames ), j++,
		Insert Into( pnames, ynames[i] || " by " || xnames[j] );
		vl &amp;lt;&amp;lt; Append(
			Oneway(
				Y( Column( dt, ynames[i] ) ),
				X( Column( dt, xnames[j] ) ),
				Box Plots( 1 ),
				Comparison Circles( 0 ),
				X Axis Proportional( 0 ),
				Means Diamonds( 1 ),
				Points Jittered( 1 ),
				SendToReport(
					Dispatch(
						{},
						"Oneway",
						OutlineBox,
						{Set Title( Eval Insert( "^ynames[i]^ ^xnames[j]^ Comparison Report" ) )}
					)
				)
			)
		);
	);  //end for j	
);  //end for i  

plb = List Box( pnames, width( 100 ), maxSelected( 1 ) );

  
nw1 = New Window( "Filter", plb );

_xx = (nw2 &amp;lt;&amp;lt; Child) &amp;lt;&amp;lt; xpath( "//OutlineBox[@helpKey='Oneway Report']" );


plb &amp;lt;&amp;lt; Set Function(
	Function( {this},
		k = (this &amp;lt;&amp;lt; get Selected Indices)[1];
		nw2 &amp;lt;&amp;lt; Scroll Window( _xx[k] );
	)
);

nw1 &amp;lt;&amp;lt; Bring Window to Front;
nw2 &amp;lt;&amp;lt; Bring Window to Front;
nw1 &amp;lt;&amp;lt; Move Window( 10, 10 );
nw2 &amp;lt;&amp;lt; move Window( 180, 10 );

//Add a try in case the window is already closed
nw2 &amp;lt;&amp;lt; On close( Try( nw1 &amp;lt;&amp;lt; Close Window() ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Sep 2018 02:25:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74646#M35833</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2018-09-21T02:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table Box (Data table col box)</title>
      <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74662#M35840</link>
      <description>&lt;P&gt;I'm not really understanding your question, your code appears to do what you are asking.&amp;nbsp; However, I wouldn't ever have one window affect the results of a second window.&amp;nbsp; I would suggest you put both your filter and oneway plots in the same window, and you can split them with a scroll box.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 15:40:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74662#M35840</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2018-09-20T15:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table Box (Data table col box)</title>
      <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74702#M35847</link>
      <description>&lt;UL&gt;&lt;LI&gt;Run the Oneway analysis within a VListbox(); A report will remain interactive (live). For each analysis stor the p-value in a list.&lt;/LI&gt;&lt;LI&gt;Investigate the matrix function rank(). Use it on the pvalue list, it returns the indices of the p-values and hence the oneways from low to high. r = rank(plist).&lt;/LI&gt;&lt;LI&gt;Set pnames = pnames[r].&amp;nbsp; This will order the names of the analyses from low to high.&lt;/LI&gt;&lt;LI&gt;Then from i=1 to number of analyses append to the window vlist box&amp;nbsp; &amp;lt;&amp;lt; append(VL[ r[i] ] )&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 18:38:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74702#M35847</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-20T18:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table Box (Data table col box)</title>
      <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74786#M35854</link>
      <description>&lt;P&gt;This took a little more than what I documented.&amp;nbsp; A sample script is attached.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 00:46:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74786#M35854</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-21T00:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table Box (Data table col box)</title>
      <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74972#M35886</link>
      <description>&lt;P&gt;gzmorgan appears to have answered your question, but you private messaged me, so I thought to elaborate on the scroll box.&amp;nbsp; Attached is an editing of gzmorgan's implementation to use one window versus two.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The downside of the scroll box is that it doesn't support the &amp;lt;&amp;lt; Scroll Window() command for whatever reason.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 20:09:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/74972#M35886</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2018-09-21T20:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Box (Data table col box)</title>
      <link>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/75217#M35904</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;I thought a single window viewer would be best and had the same problem that scroll window would not work for a nested scroll box. I reported it to JMP so the developers are aware of the issue.&amp;nbsp; JMP Support provided the attached script that demonstrates using &amp;lt;&amp;lt; Get Offset to find the position more reliably.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 18:26:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Table-Box-Data-table-col-box/m-p/75217#M35904</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-22T18:26:19Z</dc:date>
    </item>
  </channel>
</rss>

