Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
theo_beluzzi
Level I

Making a new DT with tabulate with jsl

I'm trying to make a new dt from tabulate, but for some unknown reason, it doesn't work! Anyone know why?

DT2 = (DT1 << Tabulate(

  Show Control Panel( 0 ),

  Add Table( Row Table( Grouping Columns( :age, :sex ) ) )

) << Make Data Table);

2 REPLIES 2
Highlighted
pmroz
Super User

Re: Making a new DT with tabulate with jsl

This works:

dt1 = open("$sample_data\Big Class.jmp");

dt2 = (dt1 << Tabulate(

      Show Control Panel( 0 ),

      Add Table( Row Table( Grouping Columns( :age, :sex ) ) )

)) << Make Into Data Table;

Highlighted
txnelson
Super User

Re: Making a new DT with tabulate with jsl

The easiest way to create the JSL you need to create a data table when using Tabulate, is to run the Tabulation Platform, then go to the red triangle, and select the "Make into a Data Table".  Now all you have to do is to go to the new data table and go to the table panel and click on the red triangle next to the word "Source", and select Edit.  When you do that, you will see the complete JSL code required to create the Tabulate and to output the data table.

Jim
Article Labels

    There are no labels assigned to this post.