I have J tables which I would like to place into various documents (e.g.
WORD). Here is an example

 

 

pr         =: 0.474 0.632 0.737 0.895 0.947 0.947 1 1 1 1

age=: 2 3 4 5 6 7 8 9 10 11

m=: 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 

pop_waa           =:         0.766 1.017 1.727 2.514 3.287 3.994 4.806 5.607
6.481 8.046

caa_waa           =:         0.766 1.017 1.727 2.514 3.287 3.994 4.806 5.607
6.481 8.046

per_mat=: 0 0 0.25 0.5 0.75 1 1 1 1 1

 

 

in_data=:          ('AGE'; 'PR'; 'M'; 'Catch WAA'; 'Pop WAA'; '% Mat at
Age'),:(,. age);(8j3":,.pr);(8j3":,.($pr)$m) ; (8j3":,.caa_waa);
(8j3":,.pop_waa) ; (8j3":,.per_mat)

 

I'd like to be able to directly copy in_data into a document. How can I do
this in J? 

 

I routinely move data back & forth between EXCEL and J. Here, it's the
formatted table that I am interested in moving.

 

Thanks

 

Bob

 

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to