<?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: Newbie question on saving derived tables to main table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370573#M62030</link>
    <description>&lt;P&gt;This can easily be done.&amp;nbsp; The example below takes a sample data table and runs a t-test on the data, and then using Make Data Table, a new table is created from the results table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31456i15FE37F90097EC83/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive.PNG" alt="derive.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From here, to move the output data table into the original data table, one copies the script for the new data table.&amp;nbsp; Click on the red triangle in the Table Panel and select "Copy Table Script".&amp;nbsp; This copies a script version of the script into the paste buffer&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive2.PNG" style="width: 971px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31457iC1AA9EC391CF9594/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive2.PNG" alt="derive2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now go back to the Table Panel red triangle and select "New Script"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive6.PNG" style="width: 788px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31462iD8F86F931D52E795/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive6.PNG" alt="derive6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Paste the script from the paste buffer into the script area of the New Script and add the name you want to be displayed in the list of scripts in the Table Panel&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive4.PNG" style="width: 606px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31459i645FC7E685C57CBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive4.PNG" alt="derive4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The result will be that the script is added to the Table Panel&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive7.PNG" style="width: 538px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31463i5EE4C1E205BAC3C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive7.PNG" alt="derive7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 11:17:13 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-03-23T11:17:13Z</dc:date>
    <item>
      <title>Newbie question on saving derived tables to main table</title>
      <link>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370552#M62028</link>
      <description>&lt;P&gt;Is there any way to save a derived table back to the main table for playback. For instance if I convert the output of one of the analysis tables into a JMP table by right clicking and "Make into data table" is it possible to derive a script to do this and then have it listed in the main table top left panel script playback panel for future playback?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:27:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370552#M62028</guid>
      <dc:creator>Merllin</dc:creator>
      <dc:date>2023-06-10T23:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question on saving derived tables to main table</title>
      <link>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370569#M62029</link>
      <description>&lt;P&gt;I think it depends on the platform you want to script this way, please see the following example:&lt;/P&gt;&lt;P&gt;&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" );
dt &amp;lt;&amp;lt; Contingency( Y( :Age ), X( :sex ), Make Into Data Table );
// until here from scripting index (searching "make into data table")


// inside Big Class as a table script, a script like this would do the same
// Contingency( Y( :Age ), X( :sex ), Make Into Data Table );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_0-1616498014346.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31461iBF26F3F80204306D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_0-1616498014346.png" alt="Georg_0-1616498014346.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:14:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370569#M62029</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-03-23T11:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie question on saving derived tables to main table</title>
      <link>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370573#M62030</link>
      <description>&lt;P&gt;This can easily be done.&amp;nbsp; The example below takes a sample data table and runs a t-test on the data, and then using Make Data Table, a new table is created from the results table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31456i15FE37F90097EC83/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive.PNG" alt="derive.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From here, to move the output data table into the original data table, one copies the script for the new data table.&amp;nbsp; Click on the red triangle in the Table Panel and select "Copy Table Script".&amp;nbsp; This copies a script version of the script into the paste buffer&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive2.PNG" style="width: 971px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31457iC1AA9EC391CF9594/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive2.PNG" alt="derive2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now go back to the Table Panel red triangle and select "New Script"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive6.PNG" style="width: 788px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31462iD8F86F931D52E795/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive6.PNG" alt="derive6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Paste the script from the paste buffer into the script area of the New Script and add the name you want to be displayed in the list of scripts in the Table Panel&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive4.PNG" style="width: 606px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31459i645FC7E685C57CBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive4.PNG" alt="derive4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The result will be that the script is added to the Table Panel&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="derive7.PNG" style="width: 538px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31463i5EE4C1E205BAC3C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="derive7.PNG" alt="derive7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:17:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Newbie-question-on-saving-derived-tables-to-main-table/m-p/370573#M62030</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-23T11:17:13Z</dc:date>
    </item>
  </channel>
</rss>

