cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
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