<?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: Using &amp;quot;Make Into Matrix&amp;quot; in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41769#M24361</link>
    <description>&lt;P&gt;It's good that there are workarounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, as Sebastian points out 'Make Into Matrix' does not appear in the Scripting Index as a message one can send to a 'MatrixBox()' (and the editor tooltip gives 'unknown message for object'). Yet it does appear as a context choice in the UI, and one can send the message via JSL (both giving the modal dialog he mentions).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Mark's (or JIm's) method, one could replicate the functionality of the dialog in scripting, but it's still a little strange.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 13:46:31 GMT</pubDate>
    <dc:creator>ian_jmp</dc:creator>
    <dc:date>2017-07-11T13:46:31Z</dc:date>
    <item>
      <title>Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41756#M24352</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;
&lt;P&gt;I would like to extract a table out of a report (Multivariate -&amp;gt; Multivariate) into a matrix as part of my script. Currently I am working with this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;collist = {:"X1", :"X2", :"X3", :"X4", :"X5"};
 
cor = Eval(Eval Expr(Multivariate(
Y( Expr(collist)),
Estimation Method( "Row-wise" ),
Matrix Format( "Square" ),
Scatterplot Matrix( 0 )
)));
r = (col &amp;lt;&amp;lt;Report)[Outline Box("Correlations")][1][1] &amp;lt;&amp;lt; Make into Matrix&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P class="p4"&gt;Sadly there is no documentation (?) on the message "Make into matrix" and I cannot figure out how to store the resulting matrix in a variable without the dialog appearing.&amp;nbsp;&lt;/P&gt;
&lt;P class="p4"&gt;For the moment I will work with "Make into Table". But it would be great to know how to use "Make into matrix".&lt;/P&gt;
&lt;P class="p4"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p4"&gt;Cheers,&lt;/P&gt;
&lt;P class="p4"&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 13:49:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41756#M24352</guid>
      <dc:creator>shoffmeister</dc:creator>
      <dc:date>2017-07-11T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41757#M24353</link>
      <description>&lt;P&gt;This code will bypass the dialog box. &amp;nbsp;It uses the standars and documented JSL components&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA\semiconductor capability.jmp");
collist = {:"NPN1", :"PNP1", :"NPN2", :"PNP2", :"NPN3"};
 
cor = Eval(Eval Expr(Multivariate(//invisible,
Y( Expr(collist)),
Estimation Method( "Row-wise" ),
Matrix Format( "Square" ),
Scatterplot Matrix( 0 )
)));
r = ((cor &amp;lt;&amp;lt;Report)[Outline Box("Correlations")][1][1] &amp;lt;&amp;lt; Make into data table(invisible))&amp;lt;&amp;lt;get as matrix&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:19:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41757#M24353</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-07-11T12:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41758#M24354</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Fitness.jmp" );

multi var = dt &amp;lt;&amp;lt; Multivariate(
	Y( :Age, :Weight, :Oxy, :Runtime, :RunPulse, :RstPulse, :MaxPulse ),
	Estimation Method( "Row-wise" ),
	Matrix Format( "Square" ),
	Scatterplot Matrix(
		Density Ellipses( 1 ),
		Shaded Ellipses( 0 ),
		Ellipse Color( 3 )
	)
);

multi var rep = multi var &amp;lt;&amp;lt; Report;

corr = multi var rep["Correlations"][MatrixBox(1)] &amp;lt;&amp;lt; Get;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:29:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41758#M24354</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-07-11T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41760#M24356</link>
      <description>&lt;P&gt;Thanks a lot , Mark. That was just what I was looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:35:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41760#M24356</guid>
      <dc:creator>shoffmeister</dc:creator>
      <dc:date>2017-07-11T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41769#M24361</link>
      <description>&lt;P&gt;It's good that there are workarounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, as Sebastian points out 'Make Into Matrix' does not appear in the Scripting Index as a message one can send to a 'MatrixBox()' (and the editor tooltip gives 'unknown message for object'). Yet it does appear as a context choice in the UI, and one can send the message via JSL (both giving the modal dialog he mentions).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Mark's (or JIm's) method, one could replicate the functionality of the dialog in scripting, but it's still a little strange.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 13:46:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/41769#M24361</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2017-07-11T13:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/46117#M26289</link>
      <description>&lt;P&gt;I tried to apply this technique to the Bivariate Fit platform to retrieve Parameter Estimates.&amp;nbsp; However the values are not in MatrixBox(1), but rather, &lt;FONT color="#333333" size="3"&gt;they &lt;FONT face="arial,helvetica,sans-serif"&gt;are &lt;/FONT&gt;&lt;/FONT&gt;in &lt;FONT color="#0000dd" face="Consolas" size="2"&gt;NumberColBox&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Consolas" size="2"&gt;13&lt;FONT color="#333333" size="3"&gt;&lt;FONT size="2"&gt;)&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#333333" face="arial,helvetica,sans-serif" size="2"&gt;&lt;FONT size="3"&gt;and I get an error trying to retrieve them.&amp;nbsp; I can manually store the entire&amp;nbsp;set&amp;nbsp;as a global variable and retrieve the values from the resulting matrix, but I haven't found any way to do that through jsl.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333" face="arial,helvetica,sans-serif"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 00:11:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/46117#M26289</guid>
      <dc:creator>rgerald</dc:creator>
      <dc:date>2017-10-19T00:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/46130#M26292</link>
      <description>&lt;P&gt;You can see all of the messages available to a Number Col Box() by going to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting Index==&amp;gt;Number Col Box&lt;/P&gt;
&lt;P&gt;you will see that a&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;obj &amp;lt;&amp;lt; get&lt;/P&gt;
&lt;P&gt;Will retireve the vector of data from a Number Col Box().&amp;nbsp; Or you may want to look one level up at the Table Box() object, which the Number Col Box() is an element of, and see what messages are available to it.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 02:25:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/46130#M26292</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-10-19T02:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using "Make Into Matrix" in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/46157#M26313</link>
      <description>&lt;P&gt;Thanks, your comments pointed me down the right path.&amp;nbsp; It still seems not as elegant as the one-click method of&amp;nbsp;storing the matrix as a global variable, but my script is working and that's what counts!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 16:30:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-quot-Make-Into-Matrix-quot-in-JSL/m-p/46157#M26313</guid>
      <dc:creator>rgerald</dc:creator>
      <dc:date>2017-10-19T16:30:23Z</dc:date>
    </item>
  </channel>
</rss>

