Vector c1uses the shape function to define a 3×1 vector of value 1. Vector c3defines
a 1×3 vector of value 1, and then transposesit with the SAS/IML function T. Vector c4
uses the repetition factor[3]for the value 1to define a 1×3 vector that is then
transposed. Thereis an order in which matrix operations are evaluated, and parentheses
can help avoid confusion in coding.
11.4Importing a Data Set into SAS/IML and Exporting
Matrices from SAS/IML to a Data Set
Up to now, you have enteredmatrices directly in PROCIML. You can imagine that it
would ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.