Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 3. Programming Techniques for Da... > 3.2 Reading and Writing Data

3.2 Reading and Writing Data

You can create a matrix by reading data from a SAS data set. You can also create a SAS data set from the contents of a matrix. This section discusses both of these techniques.

3.2.1 Creating Matrices from SAS Data Sets

This section describes how to read data from a SAS libref into SAS/IML vectors and matrices. If you have not already done so, follow the directions in Section 1.8 to install the data used in this book. (The examples in this book read data from the Sasuser library. If you install the data in a different SAS library, use that library instead of Sasuser.)


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint