Subscribe Bookmark RSS Feed

From make into data table to output data table name

rvs

Community Trekker

Joined:

Mar 23, 2015

Hi all,

I am a novice in JSL and may need your help.  From the sample script below, would like the output table name as " Big Class Row%". Thank you in advance.   

(Data Table( "Big Class" ) <<

Contingency(

  Y( :sex ),

  X( :age ),

  Contingency Table(

  Count( 0 ),

  Total %( 0 ),

  Col %( 0 ),

  Row %( 1 ),

  Expected( 0 ),

  Deviation( 0 ),

  Cell Chi Square( 0 ),

  Col Cum( 0 ),

  Col Cum %( 0 ),

  Row Cum( 0 ),

  Row Cum %( 0 )

  ),

  Mosaic Plot( 0 ),

  Tests( 0 ),

  Horizontal Mosaic( 1 )

)) << Make Into Data Table

3 REPLIES
Jeff_Perkinson

Community Manager

Joined:

Jun 23, 2011

You can get a reference to the data table created by the Make Into Data Table message, and then set the name of that data table.


dt =(Data Table("Big Class")<<



Contingency(


  Y( :sex ),


  X( :age ),


  Contingency Table(


  Count( 0 ),


  Total %( 0 ),


  Col %( 0 ),


  Row %( 1 ),


  Expected( 0 ),


  Deviation( 0 ),


  Cell Chi Square( 0 ),


  Col Cum( 0 ),


  Col Cum %( 0 ),


  Row Cum( 0 ),


  Row Cum %( 0 )


  ),


  Mosaic Plot( 0 ),


  Tests( 0 ),


  Horizontal Mosaic( 1 )



)) << Make Into Data Table;



dt<<set name("Big Class Row%");


-Jeff

-Jeff
rvs

Community Trekker

Joined:

Mar 23, 2015

Jeff,

Appreciate and thank you so much for the help!

I just joined the community and this is my first Q and got answered.

saitcopuroglu

Community Trekker

Joined:

Sep 29, 2014

JMP Pros are really helpful!

I am mostly into jsl and formulas producing Interactive HTML outputs.

I learned a l lot from them and my each answer has been answered, (some of them are rocket science for my beginner skills though...)