Last active
February 6, 2016 10:56
-
-
Save ymattu/b12d2e4ce3434f549940 to your computer and use it in GitHub Desktop.
IMLで作った行列をSASデータセットにする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc iml; | |
| x = {1,0,3,2,0,3}; /* 6 × 1 ベクトル */ | |
| y = {8,7,6,5,6}; /* 5 × 1 ベクトル */ | |
| z = {A A A B B B}; /* 1 × 6 ベクトル */ | |
| create DATA1 var {x y z}; /* データセットを作る */ | |
| append; /* データをベクトルの中に入れる */ | |
| close DATA1; /* データセットを閉じる */ | |
| quit; | |
| proc print data=DATA1; | |
| run; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment