This blog post is the ninth in our series and I can promise you that you will still be amazed by what you learn about this SAS user and friend. Today, I’ve had the privilege to interview Toby Dunn. I met him for the first time in Savannah, Georgia, in
English
Toby Dunn - A SAS Rock Star
Sorting a matrix by row or column statistics
In a previous blog post, I showed how to use the SAS/IML SORT and SORTNDX subroutines to sort rows of a matrix according to the values of one or more columns. There is another common situation in which you might need to sort a matrix: you compute a statistic for
Sorting rows of a matrix
Sorting is a fundamental operation in statistical programming, and most SAS programmers are familiar with PROC SORT for sorting data sets. But did you know that you can also sort rows of a SAS/IML matrix according to the value of one or more columns? This post shows how. Sorting a