SAS/IML 12.3, which was released as part of SAS 9.4 software, contains the following new functions and subroutines:
creates a bar chart.
returns a blank string of a specified length.
creates a box plot.
returns a matrix , which is the same size as the input matrix, such that .
scales a correlation matrix into a covariance matrix.
scales a covariance matrix into a correlation matrix.
returns a matrix that contains all combinations of elements from specified vectors.
creates a histogram.
returns 1 if the argument is an empty matrix (zero rows and columns) and 0 otherwise.
returns a magic square of a given size.
returns a matrix of random numbers from a specified distribution.
returns a matrix , which is the same size as the input matrix, such that .
creates a scatter plot.
creates a series plot.
In addition, SAS/IML 12.3 introduced the following enhancements to existing functions:
The column index operator (:) supports lowercase or uppercase letters, enabling you to generate a sequence such as "a":"z"
, "C":"M"
, or "z":"x"
.
The QNTL function returns the minimum value of a sample as the zeroth percentile and the maximum value of a sample as the 100th percentile.
The REPEAT function supports a new syntax for expanding data by a frequency variable. For example, REPEAT({A B C D}, {3 0 2 1})
returns the vector {A A A C C D}.
The SYMSQR and SQRSYM functions support character matrices.
The BLOCK function supports empty matrices as arguments.