Statistical programming, matrix languages, and more

How to create a dataset from several matrices?

Reply
N/A
Posts: 0

How to create a dataset from several matrices?

suppose 3 matrix var1={1,2,3,4,5};
var2={5,8,6,7,8};
var3={6,8,9,7,4};
how can I create a dataset like this ?
var1 var2 var3
1 5 6
2 8 8
3 6 9
4 7 7
5 8 4

Thank you ~
SAS Super FREQ
Posts: 3,411

Re: How to create a dataset from several matrices?

create MyData var {var1 var2 var3};
append;
close MyData;
N/A
Posts: 0

Re: How to create a dataset from several matrices?

Thank you !
Ask a Question
Discussion stats
  • 2 replies
  • 209 views
  • 0 likes
  • 2 in conversation