cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
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
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;

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