cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
dg1
dg1
Level III

Column data to Matrix

Hi! I am trying to turn all of the data in the coloumns of my data table into a 8 by 12 matrix. This would mean that if I had 5 columns I would have 5 (8 by 12) matrices. Do you guys have any suggestions on how I could do this? 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Column data to Matrix

dt = current data table();
theMatrix = dt << get as matrix;

I strongly suggest that you read the Scripting Guide!  You need to learn the basics of JSL, and work towards becoming a more independent JSL programmer.  

     Help==>Books==>Scripting Guide

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Column data to Matrix

dt = current data table();
theMatrix = dt << get as matrix;

I strongly suggest that you read the Scripting Guide!  You need to learn the basics of JSL, and work towards becoming a more independent JSL programmer.  

     Help==>Books==>Scripting Guide

Jim