cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles